diff --git a/dbml_sqlite/core.py b/dbml_sqlite/core.py index 07f7e00..9dd5a83 100644 --- a/dbml_sqlite/core.py +++ b/dbml_sqlite/core.py @@ -213,6 +213,8 @@ def processColumn(column, emulationMode, join=True): segments.append(f' {coerceColType(column.type)}') if column.pk: segments.append(' PRIMARY KEY') + if column.autoinc: + segments.append(' AUTOINCREMENT') if column.not_null: segments.append(' NOT NULL') if column.unique: