maj.sql 459 B

12345678910111213141516171819202122232425262728
  1. --
  2. -- Structure de la table `test`
  3. --
  4. CREATE TABLE `test` (
  5. `toto` int(11) NOT NULL
  6. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
  7. --
  8. -- Index pour les tables déchargées
  9. --
  10. --
  11. -- Index pour la table `test`
  12. --
  13. ALTER TABLE `test`
  14. ADD PRIMARY KEY (`toto`);
  15. --
  16. -- AUTO_INCREMENT pour les tables déchargées
  17. --
  18. --
  19. -- AUTO_INCREMENT pour la table `test`
  20. --
  21. ALTER TABLE `test`
  22. MODIFY `toto` int(11) NOT NULL AUTO_INCREMENT;
  23. COMMIT;