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:
parent
afb7e1a157
commit
6359c9ca98
@ -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> {
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user