diff options
Diffstat (limited to 'model/sql/migrate.sql')
-rw-r--r-- | model/sql/migrate.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/sql/migrate.sql b/model/sql/migrate.sql index 9577dab..f931af6 100644 --- a/model/sql/migrate.sql +++ b/model/sql/migrate.sql @@ -12,8 +12,8 @@ CREATE TABLE recipes ( CREATE TABLE steps ( id INTEGER PRIMARY KEY, - recipe INTEGER NOT NULL, 'index' INTEGER NOT NULL, text TEXT NOT NULL, + recipe INTEGER NOT NULL, FOREIGN KEY(recipe) REFERENCES recipes(id) ); |