· 6 years ago · Mar 17, 2019, 01:02 AM
1CREATE TABLE IF NOT EXISTS `phone_app_chat` (
2 `id` int(11) NOT NULL AUTO_INCREMENT,
3 `channel` varchar(20) NOT NULL,
4 `message` varchar(255) NOT NULL,
5 `time` timestamp NOT NULL DEFAULT current_timestamp(),
6 PRIMARY KEY (`id`)
7) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;
8
9-- Les données exportées n'étaient pas sélectionnées.
10-- Export de la structure de la table gtarp. phone_calls
11CREATE TABLE IF NOT EXISTS `phone_calls` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `owner` varchar(10) NOT NULL COMMENT 'Num tel proprio',
14 `num` varchar(10) NOT NULL COMMENT 'Num reférence du contact',
15 `incoming` int(11) NOT NULL COMMENT 'Défini si on est à l''origine de l''appels',
16 `time` timestamp NOT NULL DEFAULT current_timestamp(),
17 `accepts` int(11) NOT NULL COMMENT 'Appels accepter ou pas',
18 PRIMARY KEY (`id`)
19) ENGINE=InnoDB AUTO_INCREMENT=122 DEFAULT CHARSET=utf8;
20
21-- Les données exportées n'étaient pas sélectionnées.
22-- Export de la structure de la table gtarp. phone_messages
23CREATE TABLE IF NOT EXISTS `phone_messages` (
24 `id` int(11) NOT NULL AUTO_INCREMENT,
25 `transmitter` varchar(10) NOT NULL,
26 `receiver` varchar(10) NOT NULL,
27 `message` varchar(255) NOT NULL DEFAULT '0',
28 `time` timestamp NOT NULL DEFAULT current_timestamp(),
29 `isRead` int(11) NOT NULL DEFAULT 0,
30 `owner` int(11) NOT NULL DEFAULT 0,
31 PRIMARY KEY (`id`)
32) ENGINE=MyISAM AUTO_INCREMENT=106 DEFAULT CHARSET=utf8;
33
34-- Les données exportées n'étaient pas sélectionnées.
35-- Export de la structure de la table gtarp. phone_users_contacts
36CREATE TABLE IF NOT EXISTS `phone_users_contacts` (
37 `id` int(11) NOT NULL AUTO_INCREMENT,
38 `identifier` varchar(60) CHARACTER SET utf8mb4 DEFAULT NULL,
39 `number` varchar(10) CHARACTER SET utf8mb4 DEFAULT NULL,
40 `display` varchar(64) CHARACTER SET utf8mb4 NOT NULL DEFAULT '-1',
41 PRIMARY KEY (`id`)
42) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;