Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix creating a table with
AUTOINCREMENT
and ON UPDATE
followed by…
… `PRIMARY KEY` (#158) This reverts e59eff8. The fix was wrong. When spotting it, I misunderstood that the first token was already consumed. Without the fix, the new test fails with: ``` Cannot combine AUTOINCREMENT and multiple primary keys in SQLite. ``` This is because we've consumed one extra token (`,`), and the `PRIMARY KEY` then gets assigned to the `created_at` column as well.
- Loading branch information