1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-07 16:17:23 +01:00

removing the ability to configure the default quota -- default quota is always unlimited.

This commit is contained in:
Chad Furman
2024-07-12 13:54:49 -04:00
parent 8bb68d60a5
commit 654f5614af
5 changed files with 5 additions and 49 deletions

View File

@@ -193,8 +193,7 @@ def migration_14(env):
def migration_15(env):
# Add a column to the users table to store their quota limit. Default to '0' for unlimited.
db = os.path.join(env["STORAGE_ROOT"], 'mail/users.sqlite')
shell("check_call", ["sqlite3", db,
"ALTER TABLE users ADD COLUMN quota TEXT NOT NULL DEFAULT '0';"])
shell("check_call", ["sqlite3", db, "ALTER TABLE users ADD COLUMN quota TEXT NOT NULL DEFAULT '0';"])
###########################################################