fix: Correct the AUTOINCREMENT statement and PRIMARY KEY place in declaration
Some checks failed
Build project / SonarQube Trigger (push) Has been cancelled
Build project / quality-and-build (push) Has been cancelled

This commit is contained in:
Namu
2026-06-16 21:19:11 +02:00
parent e77d8e672d
commit f922ca16f9
6 changed files with 42 additions and 15 deletions

View File

@@ -6,7 +6,34 @@
{
"name": "id",
"datatype": "Integer",
"primary_key": true
"primary_key": true,
"auto_increment": true
}
]
},
{
"name": "users",
"strict": true,
"columns": [
{
"name": "id",
"datatype": "Integer",
"primary_key": true,
"auto_increment": true
},
{
"name": "name",
"datatype": "Text",
"unique": true
},
{
"name": "password",
"datatype": "Text"
},
{
"name": "email",
"datatype": "Text",
"unique": true
}
]
}