|
|
@@ -0,0 +1,28 @@
|
|
|
+--
|
|
|
+-- Structure de la table `test`
|
|
|
+--
|
|
|
+
|
|
|
+CREATE TABLE `test` (
|
|
|
+ `toto` int(11) NOT NULL
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
|
+
|
|
|
+--
|
|
|
+-- Index pour les tables déchargées
|
|
|
+--
|
|
|
+
|
|
|
+--
|
|
|
+-- Index pour la table `test`
|
|
|
+--
|
|
|
+ALTER TABLE `test`
|
|
|
+ ADD PRIMARY KEY (`toto`);
|
|
|
+
|
|
|
+--
|
|
|
+-- AUTO_INCREMENT pour les tables déchargées
|
|
|
+--
|
|
|
+
|
|
|
+--
|
|
|
+-- AUTO_INCREMENT pour la table `test`
|
|
|
+--
|
|
|
+ALTER TABLE `test`
|
|
|
+ MODIFY `toto` int(11) NOT NULL AUTO_INCREMENT;
|
|
|
+COMMIT;
|