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