gitea_pages/backend/migrate.sh
2023-05-21 18:58:10 +02:00

10 lines
188 B
Bash

#!/usr/bin/env sh
# -*- coding: utf-8 -*-
set -e
DATABASE_URL="$PAGES_DB_URL" diesel migration run \
--migration-dir ./migrations \
--locked-schema
while true; do nc -lv 8881; done