759368142eec396d7b54ad72dc94a38459d1e3bf chmalee Tue Dec 17 16:57:35 2024 -0800 Add a table with userName,quota to hgcentral so hubspace can have user-defined quotas, refs #31058 diff --git src/hg/lib/hubSpaceQuotas.sql src/hg/lib/hubSpaceQuotas.sql new file mode 100644 index 0000000..74d2073 --- /dev/null +++ src/hg/lib/hubSpaceQuotas.sql @@ -0,0 +1,12 @@ +# hubSpaceQuotas.sql was originally generated by the autoSql program, which also +# generated hubSpaceQuotas.c and hubSpaceQuotas.h. This creates the database representation of +# an object which can be loaded and saved from RAM in a fairly +# automatic way. + +#Table for per-user quotas that differ from the default quota +CREATE TABLE hubSpaceQuotas ( + userName varchar(255) not null, # userName in gbMembers + quota bigint not null, # the users quota + #Indices + PRIMARY KEY(userName) +);