1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-02-16 19:47:40 +02:00

Server: Fix regression

This commit is contained in:
Laurent Cozic 2021-08-09 22:22:31 +01:00
parent afb7e1a157
commit 6359c9ca98

View File

@ -0,0 +1,12 @@
import { Knex } from 'knex';
import { DbConnection } from '../db';
export async function up(db: DbConnection): Promise<any> {
await db.schema.alterTable('emails', function(table: Knex.CreateTableBuilder) {
table.dropUnique(['recipient_email', 'key']);
});
}
export async function down(_db: DbConnection): Promise<any> {
}