fix: refs #6818 add defaultChannel #3205

Merged
jorgep merged 6 commits from 6818-addDefaultChannel into dev 2024-11-14 15:41:10 +00:00
3 changed files with 15 additions and 4 deletions
Showing only changes of commit c8ab5d4344 - Show all commits

View File

@ -13,6 +13,9 @@
},
"url": {
"type": "string"
},
"defaultChannel": {
"type": "number"
}
},
"acls": [

View File

@ -4024,8 +4024,9 @@ INSERT INTO srt.buffer (id, x, y, `size`, `length`, stateFk, typeFk, isActive, c
INSERT IGNORE INTO vn.saySimpleCountry (countryFk, channel)
VALUES (19, 1169),
(8, 1183),
(NULL, 1320);
(8, 1183);
INSERT IGNORE INTO vn.saySimpleConfig (url)
VALUES ('saysimle-url-mock');
ALTER TABLE vn.saySimpleConfig ADD COLUMN defaultChannel TINYINT(4);
INSERT IGNORE INTO vn.saySimpleConfig (url, defaultChannel)
VALUES ('saysimle-url-mock', 1320);

View File

@ -0,0 +1,7 @@
DROP TABLE IF EXISTS vn.saySimpleConfig;
CREATE TABLE vn.saySimpleConfig(
id INT AUTO_INCREMENT PRIMARY KEY,
url VARCHAR(255) NOT NULL,
defaultChannel INT(4)
jorgep marked this conversation as resolved Outdated

en las tablas actuales los channel son VARCHAR(128) respetemos el tipo por compatibilidad

en las tablas actuales los channel son VARCHAR(128) respetemos el tipo por compatibilidad
);