1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/packages/lib/services/database/migrations/44.ts

9 lines
241 B
TypeScript
Raw Normal View History

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',
];
};