summaryrefslogtreecommitdiff
path: root/model/sql/testdata.sql
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-17 20:19:02 +0100
committerxengineering <me@xengineering.eu>2024-01-17 20:59:20 +0100
commit644ddcde14c0545dd667eaf096dadab518ad90a7 (patch)
tree86b5df5dfe09d4f7e698799c21d76093cc73f0f4 /model/sql/testdata.sql
parentae1a31f226de5701683231afaabf0f66503ca17d (diff)
downloadceres-644ddcde14c0545dd667eaf096dadab518ad90a7.tar
ceres-644ddcde14c0545dd667eaf096dadab518ad90a7.tar.zst
ceres-644ddcde14c0545dd667eaf096dadab518ad90a7.zip
model: Rename step rank to step index
This name reflects the purpose of the column better. It is used to order the recipe steps of a recipe.
Diffstat (limited to 'model/sql/testdata.sql')
-rw-r--r--model/sql/testdata.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/sql/testdata.sql b/model/sql/testdata.sql
index f2cd6e3..5452979 100644
--- a/model/sql/testdata.sql
+++ b/model/sql/testdata.sql
@@ -6,7 +6,7 @@ VALUES
;
INSERT INTO 'recipe_steps'
- ('id', 'recipe_id', 'rank', 'text')
+ ('id', 'recipe_id', 'index', 'text')
VALUES
(1, 1, 1, 'Stir the dough'),
(2, 1, 2, 'Fry pancakes')