Skip to content

SqliteDriver::getColumns() fix regexp for autoincrement recognition [Closes #164]#168

Merged
dg merged 1 commit into
nette:v2.4from
clovnrian:bugfix/sqlite_autoincrement_columns
May 18, 2017
Merged

SqliteDriver::getColumns() fix regexp for autoincrement recognition [Closes #164]#168
dg merged 1 commit into
nette:v2.4from
clovnrian:bugfix/sqlite_autoincrement_columns

Conversation

@clovnrian

Copy link
Copy Markdown
Contributor

Just fix the regular expression for finding autoincrement column in SQLite table.

I don't know if this is only SQLite 3.11.0 issue, but it uses "`" as quote character for column and table names, so autoincrement column definition looks like this:

id INTEGER NULL PRIMARY KEY AUTOINCREMENT

@dg dg merged commit 9a158d7 into nette:v2.4 May 18, 2017
@dg

dg commented May 18, 2017

Copy link
Copy Markdown
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants