From af2dd7a4b18a1b090600875540bced48e5c7deff Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 5 Mar 2023 20:48:13 +0400 Subject: [PATCH] Add column `word_forms.inflection_id` --- 20230305164404_parts_inflection.down.sql | 1 - 20230305164404_parts_inflection.up.sql | 1 - 20230305164404_word_forms_inflection.down.sql | 1 + 20230305164404_word_forms_inflection.up.sql | 2 ++ 4 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 20230305164404_parts_inflection.down.sql delete mode 100644 20230305164404_parts_inflection.up.sql create mode 100644 20230305164404_word_forms_inflection.down.sql create mode 100644 20230305164404_word_forms_inflection.up.sql diff --git a/20230305164404_parts_inflection.down.sql b/20230305164404_parts_inflection.down.sql deleted file mode 100644 index c2c1b7e..0000000 --- a/20230305164404_parts_inflection.down.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE parts DROP COLUMN inflection_id; diff --git a/20230305164404_parts_inflection.up.sql b/20230305164404_parts_inflection.up.sql deleted file mode 100644 index 14cb99c..0000000 --- a/20230305164404_parts_inflection.up.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE parts ADD COLUMN inflection_id BIGINT REFERENCES inflections (id); diff --git a/20230305164404_word_forms_inflection.down.sql b/20230305164404_word_forms_inflection.down.sql new file mode 100644 index 0000000..5ece48a --- /dev/null +++ b/20230305164404_word_forms_inflection.down.sql @@ -0,0 +1 @@ +ALTER TABLE word_forms DROP COLUMN inflection_id; diff --git a/20230305164404_word_forms_inflection.up.sql b/20230305164404_word_forms_inflection.up.sql new file mode 100644 index 0000000..d877c70 --- /dev/null +++ b/20230305164404_word_forms_inflection.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE word_forms + ADD COLUMN inflection_id BIGINT REFERENCES inflections (id);