mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Custom domain support
This commit is contained in:
10
database/migrations/08_add_domain_to_subdomains_table.sql
Normal file
10
database/migrations/08_add_domain_to_subdomains_table.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
ALTER TABLE users ADD can_specify_domains BOOLEAN DEFAULT 1;
|
||||
ALTER TABLE subdomains ADD domain STRING;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS domains (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
user_id INTEGER NOT NULL,
|
||||
domain STRING NOT NULL,
|
||||
created_at DATETIME,
|
||||
updated_at DATETIME
|
||||
)
|
||||
Reference in New Issue
Block a user