diff --git a/_sql/migrations/2023-12-15-182157_rename_model_weights_extension_tables/down.sql b/_sql/migrations/2023-12-15-182157_rename_model_weights_extension_tables/down.sql new file mode 100644 index 0000000000..842ea3a25d --- /dev/null +++ b/_sql/migrations/2023-12-15-182157_rename_model_weights_extension_tables/down.sql @@ -0,0 +1,9 @@ +-- noinspection SqlDialectInspectionForFile +-- noinspection SqlNoDataSourceInspectionForFile +-- noinspection SqlResolveForFile + +-- I'm doing this to visually align these tables and sort them together, because there will likely be other model_weights_* tables. +RENAME TABLE model_weights_extension_image_generation_details TO model_weights_image_generation_details; +RENAME TABLE model_weights_extension_tts_details TO model_weights_tts_details; +RENAME TABLE model_weights_extension_vocoder_details TO model_weights_vocoder_details; +RENAME TABLE model_weights_extension_voice_conversion_details TO model_weights_voice_conversion_details; diff --git a/_sql/migrations/2023-12-15-182157_rename_model_weights_extension_tables/up.sql b/_sql/migrations/2023-12-15-182157_rename_model_weights_extension_tables/up.sql new file mode 100644 index 0000000000..8a9490ffcf --- /dev/null +++ b/_sql/migrations/2023-12-15-182157_rename_model_weights_extension_tables/up.sql @@ -0,0 +1,9 @@ +-- noinspection SqlDialectInspectionForFile +-- noinspection SqlNoDataSourceInspectionForFile +-- noinspection SqlResolveForFile + +-- I'm doing this to visually align these tables and sort them together, because there will likely be other model_weights_* tables. +RENAME TABLE model_weights_image_generation_details TO model_weights_extension_image_generation_details; +RENAME TABLE model_weights_tts_details TO model_weights_extension_tts_details; +RENAME TABLE model_weights_vocoder_details TO model_weights_extension_vocoder_details; +RENAME TABLE model_weights_voice_conversion_details TO model_weights_extension_voice_conversion_details; diff --git a/_sql/migrations_squashed/model_weights/model_weights_image_generation_details.sql b/_sql/migrations_squashed/model_weights/model_weights_extension_image_generation_details.sql similarity index 96% rename from _sql/migrations_squashed/model_weights/model_weights_image_generation_details.sql rename to _sql/migrations_squashed/model_weights/model_weights_extension_image_generation_details.sql index 26b3c9b7ba..44d1ee4081 100644 --- a/_sql/migrations_squashed/model_weights/model_weights_image_generation_details.sql +++ b/_sql/migrations_squashed/model_weights/model_weights_extension_image_generation_details.sql @@ -3,7 +3,7 @@ -- noinspection SqlResolveForFile -- Every type of fine tuned model that users can upload. -CREATE TABLE model_weights_image_generation_details ( +CREATE TABLE model_weights_extension_image_generation_details ( -- Not used for anything except replication. id BIGINT(20) NOT NULL AUTO_INCREMENT, diff --git a/_sql/migrations_squashed/model_weights/model_weights_tts_details.sql b/_sql/migrations_squashed/model_weights/model_weights_extension_tts_details.sql similarity index 98% rename from _sql/migrations_squashed/model_weights/model_weights_tts_details.sql rename to _sql/migrations_squashed/model_weights/model_weights_extension_tts_details.sql index 540e534532..01478a453f 100644 --- a/_sql/migrations_squashed/model_weights/model_weights_tts_details.sql +++ b/_sql/migrations_squashed/model_weights/model_weights_extension_tts_details.sql @@ -3,7 +3,7 @@ -- noinspection SqlResolveForFile -- Extra metadata on tts models -CREATE TABLE model_weights_tts_details ( +CREATE TABLE model_weights_extension_tts_details ( -- Not used for anything except replication. id BIGINT(20) NOT NULL AUTO_INCREMENT, diff --git a/_sql/migrations_squashed/model_weights/model_weights_vocoder_details.sql b/_sql/migrations_squashed/model_weights/model_weights_extension_vocoder_details.sql similarity index 96% rename from _sql/migrations_squashed/model_weights/model_weights_vocoder_details.sql rename to _sql/migrations_squashed/model_weights/model_weights_extension_vocoder_details.sql index f04ac7f346..c3e4625f43 100644 --- a/_sql/migrations_squashed/model_weights/model_weights_vocoder_details.sql +++ b/_sql/migrations_squashed/model_weights/model_weights_extension_vocoder_details.sql @@ -3,7 +3,7 @@ -- noinspection SqlResolveForFile -- Every type of fine tuned model that users can upload. -CREATE TABLE model_weights_vocoder_details ( +CREATE TABLE model_weights_extension_vocoder_details ( -- Not used for anything except replication. id BIGINT(20) NOT NULL AUTO_INCREMENT, diff --git a/_sql/migrations_squashed/model_weights/model_weights_voice_conversion_details.sql b/_sql/migrations_squashed/model_weights/model_weights_extension_voice_conversion_details.sql similarity index 97% rename from _sql/migrations_squashed/model_weights/model_weights_voice_conversion_details.sql rename to _sql/migrations_squashed/model_weights/model_weights_extension_voice_conversion_details.sql index 8dd5e0c9a1..e32c19ca57 100644 --- a/_sql/migrations_squashed/model_weights/model_weights_voice_conversion_details.sql +++ b/_sql/migrations_squashed/model_weights/model_weights_extension_voice_conversion_details.sql @@ -3,7 +3,7 @@ -- noinspection SqlResolveForFile -- Every type of fine tuned model that users can upload. -CREATE TABLE model_weights_voice_conversion_details ( +CREATE TABLE model_weights_extension_voice_conversion_details ( -- Not used for anything except replication. id BIGINT(20) NOT NULL AUTO_INCREMENT,