summaryrefslogtreecommitdiff
path: root/model/sql/migrate.sql
diff options
context:
space:
mode:
Diffstat (limited to 'model/sql/migrate.sql')
-rw-r--r--model/sql/migrate.sql16
1 files changed, 8 insertions, 8 deletions
diff --git a/model/sql/migrate.sql b/model/sql/migrate.sql
index 6ca4d0f..4cbf75b 100644
--- a/model/sql/migrate.sql
+++ b/model/sql/migrate.sql
@@ -1,14 +1,14 @@
CREATE TABLE 'recipes' (
- 'id' integer PRIMARY KEY AUTOINCREMENT,
- 'title' text DEFAULT '',
- 'portions' text DEFAULT '', -- FIXME has to be integer
- 'url' text DEFAULT '',
- 'notes' text DEFAULT ''
+ 'id' integer PRIMARY KEY AUTOINCREMENT,
+ 'title' text DEFAULT '',
+ 'portions' text DEFAULT '', -- FIXME has to be integer
+ 'url' text DEFAULT '',
+ 'notes' text DEFAULT ''
);
CREATE TABLE 'recipe_steps' (
- 'id' integer PRIMARY KEY,
+ 'id' integer PRIMARY KEY,
'recipe_id' integer DEFAULT NULL,
- 'rank' integer DEFAULT NULL,
- 'text' text DEFAULT ''
+ 'index' integer DEFAULT NULL,
+ 'text' text DEFAULT ''
);