forked from unimatrix/web
Configure Balance Guard for eligible accounts; exclude official accounts
This commit is contained in:
parent
b833f7e138
commit
b96a2b6c93
1 changed files with 63 additions and 5 deletions
|
|
@ -65,3 +65,10 @@ CREATE TABLE IF NOT EXISTS pb_package_changes (
|
|||
to_key VARCHAR(32) NOT NULL, created_at BIGINT NOT NULL,
|
||||
FOREIGN KEY(entity_id) REFERENCES pb_entities(id), FOREIGN KEY(package_id) REFERENCES pb_packages(id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS pb_account_options (
|
||||
account_id BIGINT UNSIGNED PRIMARY KEY, balance_guard INT NOT NULL DEFAULT 0,
|
||||
monthly_minor BIGINT NOT NULL DEFAULT 0, accepted_by CHAR(36) NOT NULL,
|
||||
terms_version VARCHAR(64) NOT NULL, updated_at BIGINT NOT NULL,
|
||||
FOREIGN KEY(account_id) REFERENCES pb_accounts(id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff