File tree Expand file tree Collapse file tree
20260429132457_add_project_cursus_id
20260429133305_add_project_difficulty Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 - Added the required column `cursus_id` to the `Project` table.
55
66*/
7- -- Force resync of all projects to update the new `cursus_id` field
8- UPDATE " Synchronization" SET " last_synced_at" = NULL WHERE " kind" = ' projects' ;
7+ -- Force resync of all projects to update the new `cursus_id` field by setting last_synced_at to 2010-01-01
8+ UPDATE " Synchronization" SET " last_synced_at" = ' 2010-01-01 ' WHERE " kind" = ' projects' ;
99
1010-- AlterTable
1111ALTER TABLE " Project" ADD COLUMN " cursus_id" INTEGER ;
Original file line number Diff line number Diff line change 55
66*/
77
8- -- Force resync of all projects to update the new `difficulty` field
9- UPDATE " Synchronization" SET " last_synced_at" = NULL WHERE " kind" = ' projects' ;
8+ -- Force resync of all projects to update the new `difficulty` field by setting last_synced_at to 2010-01-01
9+ UPDATE " Synchronization" SET " last_synced_at" = ' 2010-01-01 ' WHERE " kind" = ' projects' ;
1010
1111-- AlterTable
1212ALTER TABLE " Project" ADD COLUMN " difficulty" INTEGER ;
You can’t perform that action at this time.
0 commit comments