Update schema.sql
This commit is contained in:
1 parent
aa38a31aa3
commit
1d960fca3e
1 file changed
+6
@@ -176,3 +176,9 @@ ALTER TABLE posts ADD COLUMN IF NOT EXISTS pinned_at TIMESTAMPTZ;
|
|||||||
CREATE INDEX IF NOT EXISTS idx_posts_is_pinned ON posts(is_pinned);
|
CREATE INDEX IF NOT EXISTS idx_posts_is_pinned ON posts(is_pinned);
|
||||||
|
|
||||||
ALTER TABLE users ADD COLUMN IF NOT EXISTS signature TEXT DEFAULT '';
|
ALTER TABLE users ADD COLUMN IF NOT EXISTS signature TEXT DEFAULT '';
|
||||||
|
|
||||||
|
-- ============================================================
|
||||||
|
-- 论坛默认设置
|
||||||
|
-- ============================================================
|
||||||
|
INSERT INTO settings (key, value) VALUES ('forum_name', 'Forumlify')
|
||||||
|
ON CONFLICT (key) DO NOTHING;
|
||||||
Reference in new issue
Block a user