chore: Remove displayName field from credentials

This commit is contained in:
Faruk AYDIN
2021-10-14 16:56:51 +02:00
committed by Ali BARIN
parent 5be9ff8383
commit 1fbc58e7e1
5 changed files with 14 additions and 23 deletions

View File

@@ -0,0 +1,13 @@
import { Knex } from "knex";
export async function up(knex: Knex): Promise<void> {
return knex.schema.table('credentials', (table) => {
table.dropColumn('display_name');
});
}
export async function down(knex: Knex): Promise<void> {
return knex.schema.table('credentials', (table) => {
table.string('display_name');
});
}