chore: Rename credentials as connections

This commit is contained in:
Faruk AYDIN
2021-10-17 13:26:58 +02:00
committed by Ali BARIN
parent 3a44cf5f86
commit 8fa0178e08
10 changed files with 68 additions and 59 deletions

View File

@@ -0,0 +1,9 @@
import { Knex } from "knex";
export async function up(knex: Knex): Promise<void> {
return knex.schema.renameTable('credentials', 'connections');
}
export async function down(knex: Knex): Promise<void> {
return knex.schema.renameTable('connections', 'credentials');
}