[DBIx-Class-Devel] [dbsrgits/sql-translator] Round-trip AUTOINCREMENT in SQLite parser (PR #158)

M Conrad notifications at github.com
Fri May 19 16:39:07 GMT 2023


The ``auto_increment_type`` is only relevant to SQLite, so the other parsers and producers don't operate on it.  SQLite gives you auto-generated primary key integers that are not guaranteed to be monotonically increasing unless you specify the AUTOINCREMENT keyword.  DBIC originally just used the default non-monotonic SQLite behavior for columns declared as auto_increment, and then needed an extra flag to differentiate for when users really need the monotonic behavior.  The issue 47 I referenced added the flag to the producer, but not the parser.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/pull/158#issuecomment-1554854372
You are receiving this because you are subscribed to this thread.

Message ID: <dbsrgits/sql-translator/pull/158/c1554854372 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20230519/3e3f23db/attachment.htm>


More information about the DBIx-Class-Devel mailing list