first commit
This commit is contained in:
4
backend/migrations/008_seed_default_group.sql
Normal file
4
backend/migrations/008_seed_default_group.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- Seed a default group for fresh installs.
|
||||
INSERT INTO groups (name, description, created_at, updated_at)
|
||||
SELECT 'default', 'Default group', NOW(), NOW()
|
||||
WHERE NOT EXISTS (SELECT 1 FROM groups);
|
||||
Reference in New Issue
Block a user