mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 19:29:50 +08:00
feat: allow wallet fallback after plan quota exhaustion
This commit is contained in:
@@ -1349,6 +1349,7 @@ CREATE TABLE IF NOT EXISTS public.user_preferences (
|
||||
email_notifications boolean DEFAULT true,
|
||||
usage_alerts boolean DEFAULT true,
|
||||
announcement_notifications boolean DEFAULT true,
|
||||
allow_wallet_overage boolean DEFAULT false NOT NULL,
|
||||
created_at timestamp with time zone DEFAULT now() NOT NULL,
|
||||
updated_at timestamp with time zone DEFAULT now() NOT NULL
|
||||
);
|
||||
|
||||
@@ -191,6 +191,7 @@ CREATE TABLE IF NOT EXISTS public.user_preferences (
|
||||
email_notifications boolean DEFAULT true NOT NULL,
|
||||
usage_alerts boolean DEFAULT true NOT NULL,
|
||||
announcement_notifications boolean DEFAULT true NOT NULL,
|
||||
allow_wallet_overage boolean DEFAULT false NOT NULL,
|
||||
created_at bigint NOT NULL,
|
||||
updated_at bigint NOT NULL
|
||||
);
|
||||
|
||||
@@ -788,6 +788,11 @@ name = "announcement_notifications"
|
||||
type = "bool"
|
||||
default = true
|
||||
|
||||
[[table.user_preferences.columns]]
|
||||
name = "allow_wallet_overage"
|
||||
type = "bool"
|
||||
default = false
|
||||
|
||||
[[table.user_preferences.columns]]
|
||||
name = "created_at"
|
||||
type = "unix_seconds"
|
||||
|
||||
Reference in New Issue
Block a user