mirror of
https://github.com/rbock/sqlpp11.git
synced 2025-12-31 10:10:28 -06:00
Recognize serial2, serial4 and serial8 types when parsing SQL definitions in the ddl2cpp script.
This commit is contained in:
committed by
Roland Bock
parent
b92a9a7656
commit
8797dfd79e
@@ -92,6 +92,9 @@ ddlIntegerTypes = [
|
||||
ddlSerialTypes = [
|
||||
"bigserial", # PostgreSQL
|
||||
"serial", # PostgreSQL
|
||||
"serial2", # PostgreSQL
|
||||
"serial4", # PostgreSQL
|
||||
"serial8", # PostgreSQL
|
||||
"smallserial", # PostgreSQL
|
||||
]
|
||||
|
||||
@@ -233,6 +236,9 @@ def initDllParser():
|
||||
"AUTOINCREMENT",
|
||||
"SMALLSERIAL",
|
||||
"SERIAL",
|
||||
"SERIAL2",
|
||||
"SERIAL4",
|
||||
"SERIAL8",
|
||||
"BIGSERIAL",
|
||||
"GENERATED",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user