2024-11-08 10:51:00 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS vn.saySimpleCountry(
|
|
|
|
countryFk MEDIUMINT(8) UNSIGNED,
|
|
|
|
channel INT(4) COMMENT 'channel de whatsapp de saySimple',
|
|
|
|
PRIMARY KEY (countryFk),
|
|
|
|
CONSTRAINT `saySimpleCountry_FK` FOREIGN KEY (`countryFk`) REFERENCES vn.country (`id`) ON UPDATE CASCADE
|
2024-11-08 11:51:09 +00:00
|
|
|
);
|
|
|
|
|
2024-11-08 16:47:10 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS vn.saySimpleConfig(
|
|
|
|
id INT AUTO_INCREMENT PRIMARY KEY,
|
|
|
|
url VARCHAR(255) NOT NULL
|
|
|
|
);
|
|
|
|
|
2024-11-08 11:51:09 +00:00
|
|
|
INSERT IGNORE INTO vn.saySimpleCountry (countryFk, channel)
|
|
|
|
VALUES (19, 1169),
|
2024-11-08 16:47:10 +00:00
|
|
|
(8, 1183),
|
|
|
|
(NULL, 1320);
|