diff options
Diffstat (limited to 'model/migrations/migration001.go')
-rw-r--r-- | model/migrations/migration001.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/model/migrations/migration001.go b/model/migrations/migration001.go new file mode 100644 index 0000000..11f062f --- /dev/null +++ b/model/migrations/migration001.go @@ -0,0 +1,15 @@ +package migrations + +import ( + "database/sql" + _ "embed" +) + +//go:embed migration001.sql +var migration001sql string + +func Migration001(tx *sql.Tx) error { + _, err := tx.Exec(migration001sql) + + return err +} |