From a530cd5f64772c189cd27ee1f30dd1f56c3fcb13 Mon Sep 17 00:00:00 2001 From: Moncef STITI Date: Wed, 11 Dec 2024 20:38:26 +0100 Subject: [PATCH] =?UTF-8?q?Renommage=20du=20fichier=20SQL=20et=20ajout=20d?= =?UTF-8?q?e=20nouvelles=20entr=C3=A9es=20dans=20les=20tables=20`Scores`?= =?UTF-8?q?=20et=20`Series`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SQL_DATABASE.sql => Database/SQL_DATABASE.sql | 135 ++++++++++++++---- 1 file changed, 111 insertions(+), 24 deletions(-) rename SQL_DATABASE.sql => Database/SQL_DATABASE.sql (99%) diff --git a/SQL_DATABASE.sql b/Database/SQL_DATABASE.sql similarity index 99% rename from SQL_DATABASE.sql rename to Database/SQL_DATABASE.sql index bcd9a8c..edf5584 100644 --- a/SQL_DATABASE.sql +++ b/Database/SQL_DATABASE.sql @@ -3,7 +3,7 @@ -- https://www.phpmyadmin.net/ -- -- Hôte : localhost --- Généré le : mar. 03 déc. 2024 à 12:02 +-- Généré le : mer. 11 déc. 2024 à 19:37 -- Version du serveur : 10.8.3-MariaDB -- Version de PHP : 8.1.7 @@ -45192,7 +45192,89 @@ INSERT INTO `Scores` (`score_id`, `series_id`, `score`, `submission_date`) VALUE (45218, 38484884, 11, '2024-12-03 11:55:28'), (45219, 384885, 23, '2024-12-03 11:55:50'), (45220, 24358385, 19, '2024-12-03 11:59:09'), -(45221, 123456789, 11, '2024-12-03 11:59:49'); +(45221, 123456789, 11, '2024-12-03 11:59:49'), +(1200001, 123456789, 11, '2024-12-03 12:02:53'), +(1200002, 123456789, 11, '2024-12-03 12:03:31'), +(1200003, 123456789, 11, '2024-12-03 12:04:27'), +(1200004, 123456789, 11, '2024-12-03 12:04:56'), +(1200005, 123456789, 11, '2024-12-03 12:06:39'), +(1200006, 123456789, 11, '2024-12-03 12:07:44'), +(1200007, 123456789, 11, '2024-12-03 12:08:07'), +(1200008, 123456789, 11, '2024-12-03 12:21:07'), +(1200009, 123456789, 328, '2024-12-03 12:22:58'), +(1200010, 72737, 344, '2024-12-03 12:24:14'), +(1200011, 123456789, 324, '2024-12-04 09:09:24'), +(1200012, 123456789, 328, '2024-12-04 09:13:06'), +(1200013, 123456789, 2, '2024-12-04 09:18:38'), +(1200014, 123456789, 2, '2024-12-04 09:18:43'), +(1200015, 123456789, 2, '2024-12-04 09:18:54'), +(1200016, 123456789, 11, '2024-12-04 12:12:05'), +(1200017, 123456789, 11, '2024-12-04 12:12:18'), +(1200018, 123456789, 11, '2024-12-04 12:12:27'), +(1200019, 123456789, 15, '2024-12-04 12:13:15'), +(1200020, 123456789, 11, '2024-12-04 12:16:40'), +(1200021, 123456789, 11, '2024-12-04 12:19:15'), +(1200022, 123456789, 11, '2024-12-04 12:28:23'), +(1200023, 123456789, 11, '2024-12-04 12:29:39'), +(1200024, 123456789, 11, '2024-12-04 12:32:44'), +(1200025, 123456789, 328, '2024-12-04 12:53:02'), +(1200026, 123456789, 244, '2024-12-04 12:58:41'), +(1200027, 123456789, 300, '2024-12-04 13:40:58'), +(1200028, 123456789, 13, '2024-12-04 13:49:15'), +(1200029, 123456789, 302, '2024-12-04 13:50:11'), +(1200030, 123456789, 290, '2024-12-04 14:05:57'), +(1200031, 123456789, 328, '2024-12-04 14:07:37'), +(1200032, 8, 447, '2024-12-04 14:21:59'), +(1200033, 123456789, 314, '2024-12-04 16:58:52'), +(1200034, 123456789, 264, '2024-12-04 17:09:59'), +(1200035, 123456789, 290, '2024-12-04 18:55:04'), +(1200036, 678912345, 750, '2024-12-04 18:57:37'), +(1200037, 123456789, 494, '2024-12-04 21:47:11'), +(1200038, 123456789, 338, '2024-12-04 21:50:33'), +(1200039, 123456789, 162, '2024-12-04 22:42:16'), +(1200040, 678912345, 356, '2024-12-05 11:31:08'), +(1200041, 987654321, 315, '2024-12-05 11:36:15'), +(1200042, 987654321, 396, '2024-12-05 14:49:05'), +(1200043, 404040, 347, '2024-12-05 14:59:39'), +(1200044, 72737, 454, '2024-12-05 16:13:33'), +(1200045, 678912345, 287, '2024-12-05 20:01:45'), +(1200046, 678912345, 14, '2024-12-06 20:27:11'), +(1200047, 678912345, 8, '2024-12-06 20:29:30'), +(1200048, 678912345, 10, '2024-12-06 20:29:38'), +(1200049, 678912345, 12, '2024-12-06 20:30:42'), +(1200050, 678912345, 12, '2024-12-06 20:31:16'), +(1200051, 678912345, 12, '2024-12-06 20:31:51'), +(1200052, 678912345, 10, '2024-12-06 20:32:27'), +(1200053, 678912345, 14, '2024-12-06 20:32:50'), +(1200054, 678912345, 148, '2024-12-06 20:33:52'), +(1200055, 678912345, 160, '2024-12-06 20:36:15'), +(1200056, 123456789, 564, '2024-12-06 21:23:58'), +(1200057, 678912345, 172, '2024-12-07 10:23:23'), +(1200058, 678912345, 160, '2024-12-10 13:16:06'), +(1200059, 678912345, 146, '2024-12-10 13:19:33'), +(1200060, 678912345, 12, '2024-12-10 13:20:24'), +(1200061, 678912345, 12, '2024-12-10 13:20:43'), +(1200062, 678912345, 10, '2024-12-10 13:21:01'), +(1200063, 123456789, 7, '2024-12-10 13:21:16'), +(1200064, 678912345, 10, '2024-12-10 13:21:33'), +(1200065, 678912345, 10, '2024-12-10 13:22:17'), +(1200066, 678912345, 12, '2024-12-10 13:22:36'), +(1200067, 678912345, 12, '2024-12-10 13:23:55'), +(1200068, 678912345, 10, '2024-12-10 13:25:08'), +(1200069, 678912345, 12, '2024-12-10 13:25:28'), +(1200070, 678912345, 12, '2024-12-10 13:25:44'), +(1200071, 678912345, 14, '2024-12-10 13:26:04'), +(1200072, 678912345, 12, '2024-12-10 13:26:40'), +(1200073, 678912345, 10, '2024-12-10 13:27:02'), +(1200074, 678912345, 12, '2024-12-10 13:27:19'), +(1200075, 678912345, 14, '2024-12-10 13:28:13'), +(1200076, 678912345, 12, '2024-12-10 13:29:17'), +(1200077, 678912345, 14, '2024-12-10 13:31:19'), +(1200078, 678912345, 12, '2024-12-10 13:31:45'), +(1200079, 678912345, 14, '2024-12-10 13:38:41'), +(1200080, 3333, 151, '2024-12-11 10:52:23'), +(1200081, 123456789, 116, '2024-12-11 10:53:38'), +(1200082, 678912345, 456, '2024-12-11 15:58:53'); -- -------------------------------------------------------- @@ -45202,32 +45284,37 @@ INSERT INTO `Scores` (`score_id`, `series_id`, `score`, `submission_date`) VALUE CREATE TABLE `Series` ( `series_id` bigint(20) NOT NULL, - `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Custom seed', - `creation_date` timestamp NOT NULL DEFAULT current_timestamp() + `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Série Custom ', + `creation_date` timestamp NOT NULL DEFAULT current_timestamp(), + `created_by_developer` tinyint(1) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Déchargement des données de la table `Series` -- -INSERT INTO `Series` (`series_id`, `name`, `creation_date`) VALUES -(1, 'Custom Mode', '2024-11-24 01:06:49'), -(2, 'Custom Mode', '2024-11-24 01:08:38'), -(7, 'Custom Mode', '2024-11-26 10:56:33'), -(9, 'Custom Mode', '2024-11-27 13:57:46'), -(12, 'Custom Mode', '2024-12-03 10:29:36'), -(123, 'Custom Mode', '2024-11-23 23:35:38'), -(555, 'Custom Mode', '2024-11-16 23:31:00'), -(384885, 'Série Custom', '2024-12-03 11:55:47'), -(24358385, 'Série Custom', '2024-12-03 11:59:06'), -(38484884, 'Série Custom', '2024-12-03 11:55:23'), -(103072005, 'Série 4', '2024-11-16 23:17:30'), -(123456789, 'Série 1', '2024-11-16 23:17:30'), -(445335353, 'Custom Mode', '2024-12-02 12:56:33'), -(678912345, 'Série 3', '2024-11-16 23:17:30'), -(987654321, 'Série 2', '2024-11-16 23:17:30'), -(1732629214087, 'Custom Mode', '2024-11-26 13:53:34'), -(1732629226475, 'Custom Mode', '2024-11-26 13:53:46'); +INSERT INTO `Series` (`series_id`, `name`, `creation_date`, `created_by_developer`) VALUES +(2, 'Série custom 15', '2024-12-05 15:41:05', 0), +(7, 'Série custom 1', '2024-11-26 10:56:33', 0), +(8, 'Série custom 2', '2024-12-04 14:21:24', 0), +(9, 'Série custom 9', '2024-12-05 15:07:23', 0), +(3333, 'Série custom 13', '2024-12-05 15:25:55', 0), +(3993, 'Série custom 8', '2024-12-05 15:07:06', 0), +(39393, 'Série custom 14', '2024-12-05 15:27:30', 0), +(72737, 'Série custom 3', '2024-12-03 12:23:43', 0), +(384885, 'Série custom 4', '2024-12-03 11:55:47', 0), +(404040, 'Série custom 7', '2024-12-05 14:58:48', 0), +(3893939, 'Série custom 11', '2024-12-05 15:15:21', 0), +(24358385, 'Série custom 5', '2024-12-03 11:59:06', 0), +(38484884, 'Série custom 6', '2024-12-03 11:55:23', 0), +(99393939, 'Série custom 10', '2024-12-05 15:07:34', 0), +(103072005, 'Série 1', '2024-11-16 23:17:30', 1), +(123456789, 'Série 2', '2024-11-16 23:17:30', 1), +(678912345, 'Série 3', '2024-11-16 23:17:30', 1), +(737377373, 'Série custom 16', '2024-12-05 20:01:58', 0), +(987654321, 'Série 4', '2024-11-16 23:17:30', 1), +(1733512433643, 'Série custom 17', '2024-12-06 19:13:54', 0), +(93939939393939, 'Série custom 12', '2024-12-05 15:15:32', 0); -- -- Index pour les tables déchargées @@ -45254,13 +45341,13 @@ ALTER TABLE `Series` -- AUTO_INCREMENT pour la table `Scores` -- ALTER TABLE `Scores` - MODIFY `score_id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45222; + MODIFY `score_id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1200083; -- -- AUTO_INCREMENT pour la table `Series` -- ALTER TABLE `Series` - MODIFY `series_id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1732629226476; + MODIFY `series_id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=93939939393940; -- -- Contraintes pour les tables déchargées