set autoincrement to 1
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
2c6179914a
commit
1eb1cdd2fa
@ -43,7 +43,7 @@ class DatabaseConnection
|
||||
`api_token_prefix` varchar(13) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`api_token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci";
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci";
|
||||
$statement = $this->dbConnection->prepare($sql);
|
||||
$statement->execute();
|
||||
|
||||
@ -54,7 +54,7 @@ class DatabaseConnection
|
||||
`a` varbinary(255) DEFAULT NULL,
|
||||
`aaaa` varbinary(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci";
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci";
|
||||
$statement = $this->dbConnection->prepare($sql);
|
||||
$statement->execute();
|
||||
|
||||
@ -66,7 +66,7 @@ class DatabaseConnection
|
||||
`aaaa` varbinary(255) DEFAULT NULL,
|
||||
`apikey` varbinary(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci";
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci";
|
||||
$statement = $this->dbConnection->prepare($sql);
|
||||
$statement->execute();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user