Commit 6311c54298ad78eb3e043dba2b0dfda8daea979e
1 parent
cec8b029
Fixing sequences
Showing
1 changed file
with
6 additions
and
6 deletions
mysql.sql
@@ -29,7 +29,7 @@ CREATE TABLE `dnssec_keys` ( | @@ -29,7 +29,7 @@ CREATE TABLE `dnssec_keys` ( | ||
29 | KEY `arch` (`archive`), | 29 | KEY `arch` (`archive`), |
30 | KEY `filen` (`filename`), | 30 | KEY `filen` (`filename`), |
31 | CONSTRAINT `fkdskeys` FOREIGN KEY (`dszone`) REFERENCES `dnssec_zones` (`id`) ON DELETE CASCADE | 31 | CONSTRAINT `fkdskeys` FOREIGN KEY (`dszone`) REFERENCES `dnssec_zones` (`id`) ON DELETE CASCADE |
32 | -) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8; | 32 | +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; |
33 | /*!40101 SET character_set_client = @saved_cs_client */; | 33 | /*!40101 SET character_set_client = @saved_cs_client */; |
34 | 34 | ||
35 | -- | 35 | -- |
@@ -56,7 +56,7 @@ CREATE TABLE `dnssec_zones` ( | @@ -56,7 +56,7 @@ CREATE TABLE `dnssec_zones` ( | ||
56 | UNIQUE KEY `id` (`id`), | 56 | UNIQUE KEY `id` (`id`), |
57 | KEY `dsnam` (`zone`), | 57 | KEY `dsnam` (`zone`), |
58 | CONSTRAINT `fkdszones` FOREIGN KEY (`zone`) REFERENCES `zones` (`id`) ON DELETE CASCADE | 58 | CONSTRAINT `fkdszones` FOREIGN KEY (`zone`) REFERENCES `zones` (`id`) ON DELETE CASCADE |
59 | -) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8; | 59 | +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; |
60 | /*!40101 SET character_set_client = @saved_cs_client */; | 60 | /*!40101 SET character_set_client = @saved_cs_client */; |
61 | 61 | ||
62 | -- | 62 | -- |
@@ -114,7 +114,7 @@ CREATE TABLE `records` ( | @@ -114,7 +114,7 @@ CREATE TABLE `records` ( | ||
114 | KEY `reczone` (`zone`), | 114 | KEY `reczone` (`zone`), |
115 | KEY `rech` (`host`), | 115 | KEY `rech` (`host`), |
116 | CONSTRAINT `fkrecords` FOREIGN KEY (`zone`) REFERENCES `zones` (`id`) ON DELETE CASCADE | 116 | CONSTRAINT `fkrecords` FOREIGN KEY (`zone`) REFERENCES `zones` (`id`) ON DELETE CASCADE |
117 | -) ENGINE=InnoDB AUTO_INCREMENT=765 DEFAULT CHARSET=utf8; | 117 | +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; |
118 | /*!40101 SET character_set_client = @saved_cs_client */; | 118 | /*!40101 SET character_set_client = @saved_cs_client */; |
119 | 119 | ||
120 | -- | 120 | -- |
@@ -144,7 +144,7 @@ CREATE TABLE `slave_zones` ( | @@ -144,7 +144,7 @@ CREATE TABLE `slave_zones` ( | ||
144 | UNIQUE KEY `sznam` (`name`), | 144 | UNIQUE KEY `sznam` (`name`), |
145 | KEY `szupd` (`updated`), | 145 | KEY `szupd` (`updated`), |
146 | KEY `szow` (`owner`) | 146 | KEY `szow` (`owner`) |
147 | -) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; | 147 | +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; |
148 | /*!40101 SET character_set_client = @saved_cs_client */; | 148 | /*!40101 SET character_set_client = @saved_cs_client */; |
149 | 149 | ||
150 | -- | 150 | -- |
@@ -173,7 +173,7 @@ CREATE TABLE `users` ( | @@ -173,7 +173,7 @@ CREATE TABLE `users` ( | ||
173 | UNIQUE KEY `usnam` (`username`), | 173 | UNIQUE KEY `usnam` (`username`), |
174 | KEY `uspass` (`password`), | 174 | KEY `uspass` (`password`), |
175 | KEY `admin` (`admin`) | 175 | KEY `admin` (`admin`) |
176 | -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; | 176 | +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; |
177 | /*!40101 SET character_set_client = @saved_cs_client */; | 177 | /*!40101 SET character_set_client = @saved_cs_client */; |
178 | 178 | ||
179 | -- | 179 | -- |
@@ -212,7 +212,7 @@ CREATE TABLE `zones` ( | @@ -212,7 +212,7 @@ CREATE TABLE `zones` ( | ||
212 | KEY `zonval` (`valid`), | 212 | KEY `zonval` (`valid`), |
213 | KEY `zonow` (`owner`), | 213 | KEY `zonow` (`owner`), |
214 | KEY `zonupd` (`updated`) | 214 | KEY `zonupd` (`updated`) |
215 | -) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8; | 215 | +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; |
216 | /*!40101 SET character_set_client = @saved_cs_client */; | 216 | /*!40101 SET character_set_client = @saved_cs_client */; |
217 | 217 | ||
218 | -- | 218 | -- |