ent seteup
This commit is contained in:
2
db/migrations/000001_roles.up.sql
Normal file
2
db/migrations/000001_roles.up.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
insert into roles(name)
|
||||
values('Super Admin'), ('Admin'), ('User')
|
||||
9
db/migrations/index.go
Normal file
9
db/migrations/index.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package migrations
|
||||
|
||||
import (
|
||||
"embed"
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
//go:embed *.sql
|
||||
var FS embed.FS
|
||||
Reference in New Issue
Block a user