[DBIx-Class-Devel] [sql-translator] Backward-compatible sqlite autoincrement (#47)

Dagfinn Ilmari Mannsåker notifications at github.com
Sun Dec 14 20:31:05 GMT 2014


`SQL::Translator::Parser::SQLite` currently only sets `is_auto_increment` for `AUTOINCREMENT` columns. Arguably it should set that for `INTEGER PRIMARY KEY` columns as well, and add `extra => { autoinc_method => 'sequence' }` if the column is declared with  `AUTOINCREMENT`.

I also think that, for consistency, the `extra` field should be `auto_increment_method`.

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/pull/47#issuecomment-66928316
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20141214/6c09b6b4/attachment.htm>


More information about the DBIx-Class-Devel mailing list