fix: refs #6818 add defaultChannel
gitea/salix/pipeline/pr-dev Build queued... Details

This commit is contained in:
Jorge Penadés 2024-11-14 11:16:45 +01:00
parent cd7ed6987a
commit c8ab5d4344
3 changed files with 15 additions and 4 deletions

View File

@ -13,6 +13,9 @@
}, },
"url": { "url": {
"type": "string" "type": "string"
},
"defaultChannel": {
"type": "number"
} }
}, },
"acls": [ "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) INSERT IGNORE INTO vn.saySimpleCountry (countryFk, channel)
VALUES (19, 1169), VALUES (19, 1169),
(8, 1183), (8, 1183);
(NULL, 1320);
INSERT IGNORE INTO vn.saySimpleConfig (url) ALTER TABLE vn.saySimpleConfig ADD COLUMN defaultChannel TINYINT(4);
VALUES ('saysimle-url-mock');
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)
);