gitea_pages/backend/migrate.sh

11 lines
188 B
Bash
Raw Normal View History

2023-05-21 16:58:10 +00:00
#!/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