Skip to content

Commit 4ae5838

Browse files
committed
Add admin panel
1 parent d416909 commit 4ae5838

16 files changed

Lines changed: 2780 additions & 194 deletions

File tree

dev/dev.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ ADD VALUE 'vless_xhttp_cdn';
161161
ALTER TABLE subscriptions
162162
ADD COLUMN IF NOT EXISTS referral_bonus_awarded BOOLEAN NOT NULL DEFAULT false;
163163

164+
ALTER TABLE subscriptions
165+
ADD COLUMN IF NOT EXISTS parent_id UUID REFERENCES subscriptions(id),
166+
ADD COLUMN IF NOT EXISTS scope_env TEXT,
167+
ADD COLUMN IF NOT EXISTS premium_token TEXT UNIQUE;
168+
164169
-- Per-connection daily/monthly traffic.
165170
CREATE TABLE IF NOT EXISTS connection_traffic (
166171
connection_id UUID NOT NULL,

0 commit comments

Comments
 (0)