You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Server: Fixes #12737: Fixed broken "Delete expired authentication codes" task
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
import { DbConnection } from '../db';
|
||||||
|
|
||||||
|
export const up = async (db: DbConnection) => {
|
||||||
|
await db.schema.alterTable('users', (table) => {
|
||||||
|
table.bigInteger('sso_auth_code_expire_at').defaultTo(0).notNullable().alter();
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
export const down = async (db: DbConnection) => {
|
||||||
|
await db.schema.alterTable('users', (table) => {
|
||||||
|
table.integer('sso_auth_code_expire_at').defaultTo(0).notNullable().alter();
|
||||||
|
});
|
||||||
|
};
|
Reference in New Issue
Block a user