From d151e31a5331b08ae1bba05c7e799bf95437dd48 Mon Sep 17 00:00:00 2001 From: RockySouthpaw <55056068+RockySouthpaw@users.noreply.github.com> Date: Sat, 29 Aug 2020 14:55:47 -0400 Subject: [PATCH] Added sql template from chip --- resources/import.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 resources/import.sql diff --git a/resources/import.sql b/resources/import.sql new file mode 100644 index 0000000..e65610e --- /dev/null +++ b/resources/import.sql @@ -0,0 +1,14 @@ +ALTER TABLE `users` ADD COLUMN `phone_number` VARCHAR(20) NULL DEFAULT NULL; + +CREATE TABLE es_extended.phone_contacts ( + id int(11) NOT NULL AUTO_INCREMENT, + identifier varchar(60) DEFAULT NULL, + number varchar(10) DEFAULT NULL, + display varchar(60) NOT NULL DEFAULT '', + PRIMARY KEY (id) +) +ENGINE = INNODB, +AUTO_INCREMENT = 6, +AVG_ROW_LENGTH = 4096, +CHARACTER SET utf8mb4, +COLLATE utf8mb4_general_ci; \ No newline at end of file