feat(root): added migrations and optimized profile table
This commit is contained in:
committed by
Carl-Gerhard Lindesvärd
parent
2258fed24a
commit
b44f1958a2
11
packages/db/migrations/goose
Executable file
11
packages/db/migrations/goose
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
if [ -z "$CLICKHOUSE_URL" ]; then
|
||||
echo "CLICKHOUSE_URL is not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export GOOSE_DBSTRING=$CLICKHOUSE_URL
|
||||
|
||||
goose clickhouse --dir ./migrations $@
|
||||
Reference in New Issue
Block a user