feat: add option to specify subdirectory in repo to use

This commit is contained in:
Jef Roosens 2022-12-16 11:21:28 +01:00
parent a48358fd75
commit 1ce7b9d571
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
14 changed files with 120 additions and 28 deletions

View file

@ -18,12 +18,14 @@ const (
$embed_file('migrations/002-rename-to-targets/up.sql'),
$embed_file('migrations/003-target-url-type/up.sql'),
$embed_file('migrations/004-nullable-branch/up.sql'),
$embed_file('migrations/005-repo-path/up.sql'),
]
migrations_down = [
$embed_file('migrations/001-initial/down.sql'),
$embed_file('migrations/002-rename-to-targets/down.sql'),
$embed_file('migrations/003-target-url-type/down.sql'),
$embed_file('migrations/004-nullable-branch/down.sql'),
$embed_file('migrations/005-repo-path/down.sql'),
]
)

View file

@ -0,0 +1 @@
ALTER TABLE Target DROP COLUMN path;

View file

@ -0,0 +1 @@
ALTER TABLE Target ADD COLUMN path TEXT;