Thu May 18 07:57:00 UTC 2023 inscode

上级 898230f3
...@@ -15,7 +15,7 @@ class Database: ...@@ -15,7 +15,7 @@ class Database:
def create_table(self): def create_table(self):
with self.connection.cursor() as cursor: with self.connection.cursor() as cursor:
cursor.execute(""" cursor.execute("""
CREATE TABLE IF NOT EXISTS `users` ( CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL, `name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL, `email` varchar(255) NOT NULL,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册