From 7d7815a4bd9957559812b74b5cd64dbda61d6976 Mon Sep 17 00:00:00 2001 From: Nico Date: Mon, 15 Sep 2025 22:47:39 +0200 Subject: [PATCH] added ";" to sql statements, so no further error is thrown when applying migrations --- src-tauri/migrations/0001_path_node_table.sql | 5 +++-- src-tauri/migrations/0002_node_exercise.sql | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src-tauri/migrations/0001_path_node_table.sql b/src-tauri/migrations/0001_path_node_table.sql index 17ccb40..fd68084 100644 --- a/src-tauri/migrations/0001_path_node_table.sql +++ b/src-tauri/migrations/0001_path_node_table.sql @@ -3,6 +3,7 @@ CREATE TABLE PathNode ( id integer primary key, title text, description text -) +); --- migrate:down \ No newline at end of file +-- migrate:down +-- DROP TABLE PathNode; \ No newline at end of file diff --git a/src-tauri/migrations/0002_node_exercise.sql b/src-tauri/migrations/0002_node_exercise.sql index e0ce426..d1e2d93 100644 --- a/src-tauri/migrations/0002_node_exercise.sql +++ b/src-tauri/migrations/0002_node_exercise.sql @@ -3,6 +3,7 @@ create table NodeExercise ( id integer primary key, ex_type text, content text -) +); --- migrate:down \ No newline at end of file +-- migrate:down +-- DROP TABLE NodeExercise; \ No newline at end of file