From b62c686702622b747ab082b7b12b3e611e1d7e1f Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 3 Mar 2024 20:06:40 +0100 Subject: model: Create test data with Go instead of SQL This allows to formulate the test data with an object-based model which is easier than writing it down in a relational model. --- model/sql/testdata.sql | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 model/sql/testdata.sql (limited to 'model/sql') diff --git a/model/sql/testdata.sql b/model/sql/testdata.sql deleted file mode 100644 index e47bde9..0000000 --- a/model/sql/testdata.sql +++ /dev/null @@ -1,6 +0,0 @@ -INSERT INTO 'recipes' - (id, title, portions, url, notes, created, last_changed) -VALUES - (1, 'Pancakes', 4, 'https://example.org', 'Very fluffy', strftime('%s', 'now'), strftime('%s', 'now')), - (2, 'Burger', 2, 'https://xengineering.eu/git/ceres', 'Delicious!', strftime('%s', 'now'), strftime('%s', 'now')) -; -- cgit v1.2.3-70-g09d2