10 lines
403 B
Plaintext
10 lines
403 B
Plaintext
#!/usr/bin/with-contenv sh
|
|
|
|
if [ "$DB_TYPE" == "postgres" ]; then
|
|
# starting at 3 because the
|
|
psql --host "$DB_HOST" --port "$DB_PORT" --username "$DB_USER" --dbname "$DB_NAME" --command \
|
|
"ALTER SEQUENCE users_id_seq START WITH 3;"
|
|
sql --host "$DB_HOST" --port "$DB_PORT" --username "$DB_USER" --dbname "$DB_NAME" --command \
|
|
"ALTER SEQUENCE groups_id_seq START WITH 3;"
|
|
fi
|