fix(package): migrator: init migration

This commit is contained in:
2025-11-22 11:50:42 +00:00
parent 9a7e7d677a
commit 783cbe20e8
2 changed files with 84 additions and 56 deletions

View File

@@ -1,12 +1,12 @@
##!/bin/dash
#
#HECTIC_NAMESPACE=test-migration-list
#
#psql "$DATABASE_URL" 'CREATE TABLE profile (
# id INTEGER,
# username TEXT
#)'
#
#migrator --db-url "$DATABASE_URL" migrate to 20251104192425-add-info-to-profile
#
#exit 1
#!/bin/dash
HECTIC_NAMESPACE=test-migration-list
psql "$DATABASE_URL" 'CREATE TABLE profile (
id INTEGER,
username TEXT
)'
migrator --db-url "$DATABASE_URL" migrate to 20251104192425-add-info-to-profile
exit 1