1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/packages/lib/services/database/migrations/44.ts
2023-10-21 15:53:17 +01:00

9 lines
241 B
TypeScript

import { SqlQuery } from '../types';
export default (): (SqlQuery|string)[] => {
return [
'ALTER TABLE `resources` ADD COLUMN blob_updated_time INT NOT NULL DEFAULT 0',
'UPDATE `resources` SET blob_updated_time = updated_time',
];
};