🎉 Gitea Mirror: Added

This commit is contained in:
Arunavo Ray
2025-05-18 09:31:23 +05:30
commit 5d40023de0
139 changed files with 22033 additions and 0 deletions

18
scripts/run-migrations.ts Normal file
View File

@@ -0,0 +1,18 @@
import { addMirroredLocationColumn } from "../src/lib/db/migrations/add-mirrored-location";
async function runMigrations() {
try {
console.log("Running database migrations...");
// Run the migration to add the mirrored_location column
await addMirroredLocationColumn();
console.log("All migrations completed successfully");
process.exit(0);
} catch (error) {
console.error("Migration failed:", error);
process.exit(1);
}
}
runMigrations();