Add autoincrement option to dialect
This commit is contained in:
parent
c997e3196c
commit
d53afd905e
3 changed files with 8 additions and 2 deletions
tools/Language/SQL/SimpleSQL
|
@ -334,7 +334,7 @@ todo: constraint characteristics
|
|||
> [TableColumnDef $ ColumnDef (Name Nothing "a") (TypeName [Name Nothing "int"]) Nothing
|
||||
> [ColConstraintDef Nothing (ColPrimaryKeyConstraint False)]])
|
||||
|
||||
> ,(TestStatement ansi2011
|
||||
> ,(TestStatement ansi2011 { diAutoincrement = True }
|
||||
> "create table t (a int primary key autoincrement);"
|
||||
> $ CreateTable [Name Nothing "t"]
|
||||
> [TableColumnDef $ ColumnDef (Name Nothing "a") (TypeName [Name Nothing "int"]) Nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue