mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 18:21:12 +00:00
migrations for mel multiply factor
This commit is contained in:
1 parent
406d2eb7af
commit
6b7370ee64
5 files changed
+37
No files matched your search
@@ -1,2 +1,6 @@
|
||||
-- noinspection SqlDialectInspectionForFile
|
||||
-- noinspection SqlNoDataSourceInspectionForFile
|
||||
-- noinspection SqlResolveForFile
|
||||
|
||||
-- This file should undo anything in `up.sql`
|
||||
drop table unsubscribe_reason;
|
||||
@@ -1,3 +1,7 @@
|
||||
-- noinspection SqlDialectInspectionForFile
|
||||
-- noinspection SqlNoDataSourceInspectionForFile
|
||||
-- noinspection SqlResolveForFile
|
||||
|
||||
CREATE TABLE unsubscribe_reason (
|
||||
-- Generic primary key
|
||||
id BIGINT(20) NOT NULL AUTO_INCREMENT,
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
-- noinspection SqlDialectInspectionForFile
|
||||
-- noinspection SqlNoDataSourceInspectionForFile
|
||||
-- noinspection SqlResolveForFile
|
||||
|
||||
ALTER TABLE tts_models DROP COLUMN maybe_custom_mel_multiply_factor;
|
||||
ALTER TABLE tts_models DROP COLUMN use_default_mel_multiply_factor;
|
||||
@@ -0,0 +1,15 @@
|
||||
-- noinspection SqlDialectInspectionForFile
|
||||
-- noinspection SqlNoDataSourceInspectionForFile
|
||||
-- noinspection SqlResolveForFile
|
||||
|
||||
-- If true, multiply the mel outputs before being vocoded by a globally default constant.
|
||||
ALTER TABLE tts_models
|
||||
ADD COLUMN use_default_mel_multiply_factor BOOLEAN NOT NULL DEFAULT FALSE
|
||||
AFTER text_preprocessing_algorithm;
|
||||
|
||||
-- If not null, multiply the mel outputs before being vocoded by this value.
|
||||
-- This is used instead of the default if `use_default_mel_multiply_factor` is
|
||||
-- set (ie. `use_default_mel_multiply_factor` is ignored and this custom value is used instead)
|
||||
ALTER TABLE tts_models
|
||||
ADD COLUMN maybe_custom_mel_multiply_factor DOUBLE DEFAULT NULL
|
||||
AFTER use_default_mel_multiply_factor;
|
||||
@@ -49,6 +49,14 @@ CREATE TABLE tts_models (
|
||||
'arpabet'
|
||||
) NOT NULL DEFAULT 'basic',
|
||||
|
||||
-- If true, multiply the mel outputs before being vocoded by a globally default constant.
|
||||
use_default_mel_multiply_factor BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
|
||||
-- If not null, multiply the mel outputs before being vocoded by this value.
|
||||
-- This is used instead of the default if `use_default_mel_multiply_factor` is
|
||||
-- set (ie. `use_default_mel_multiply_factor` is ignored and this custom value is used instead)
|
||||
maybe_custom_mel_multiply_factor DOUBLE DEFAULT NULL,
|
||||
|
||||
-- If set, use a different pretrained vocoder.
|
||||
-- If not set, use the website default. (Currently HifiGan-SS)
|
||||
maybe_default_pretrained_vocoder VARCHAR(64) DEFAULT NULL,
|
||||
|
||||
Reference in new issue
Block a user