-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtable.sql
More file actions
37 lines (31 loc) · 924 Bytes
/
table.sql
File metadata and controls
37 lines (31 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-- --------------------------------------------------------
--
-- Structure de la table `logs`
--
CREATE TABLE `logs` (
`id` bigint(20) UNSIGNED NOT NULL,
`subscriber_number` int(11) NOT NULL,
`type` enum('SMS','data','phone_call') COLLATE utf8mb4_unicode_ci NOT NULL,
`phone_call_actual_duration` time DEFAULT NULL,
`phone_call_billed_duration` time DEFAULT NULL,
`data_real_volume` double(8,2) DEFAULT NULL,
`data_billed_volume` double(8,2) DEFAULT NULL,
`date` date NOT NULL,
`time` time NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Index pour les tables exportées
--
--
-- Index pour la table `logs`
--
ALTER TABLE `logs`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT pour les tables exportées
--
--
-- AUTO_INCREMENT pour la table `logs`
--
ALTER TABLE `logs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;