upgrade from go-pg to bun
This commit is contained in:
parent
f59f129354
commit
1886be62bc
23 changed files with 415 additions and 385 deletions
8
database/migrations/2_bootstrap_users.up.sql
Normal file
8
database/migrations/2_bootstrap_users.up.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
INSERT INTO accounts (id, email, name, active, roles)
|
||||
VALUES (DEFAULT, 'admin@example.com', 'Admin Example', true, '{admin}');
|
||||
|
||||
--bun:split
|
||||
|
||||
INSERT INTO accounts (id, email, name, active)
|
||||
VALUES (DEFAULT, 'user@example.com', 'User Example', true);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue