fix: refs #6818 add defaultChannel #3205
|
@ -4023,8 +4023,8 @@ 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`);
|
||||||
|
|
||||||
INSERT IGNORE INTO vn.saySimpleConfig (url, defaultChannel)
|
INSERT IGNORE INTO vn.saySimpleConfig (url, defaultChannel)
|
||||||
VALUES ('saysimle-url-mock', 1320);
|
VALUES ('saysimle-url-mock', 1320);
|
|
@ -3,5 +3,7 @@ DROP TABLE IF EXISTS vn.saySimpleConfig;
|
||||||
CREATE TABLE vn.saySimpleConfig(
|
CREATE TABLE vn.saySimpleConfig(
|
||||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||||
url VARCHAR(255) NOT NULL,
|
url VARCHAR(255) NOT NULL,
|
||||||
defaultChannel INT(4)
|
defaultChannel VARCHAR(128)
|
||||||
jorgep marked this conversation as resolved
Outdated
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
ALTER TABLE vn.saySimpleCountry MODIFY COLUMN channel VARCHAR(128);
|
Loading…
Reference in New Issue
en las tablas actuales los channel son VARCHAR(128) respetemos el tipo por compatibilidad