[DBIx-Class-Devel] [dbsrgits/sql-translator] Round-trip AUTOINCREMENT in SQLite parser (PR #158)
M Conrad
notifications at github.com
Mon May 8 06:53:53 GMT 2023
Currently, the SQLite parser sees the AUTOINCREMENT keyword and sets the column flag is_auto_increment, but the SQLite Producer will not write the AUTOINCREMENT keyword unless extra.auto_increment_type is 'monotonic'. This breaks round-trip by the AUTOINCREMENT keyword getting lost.
This was mentioned as a needed related fix in the discussion of #47, but it seems to have never been added.
You can view, comment on, or merge this pull request online at:
https://github.com/dbsrgits/sql-translator/pull/158
-- Commit Summary --
* Round-trip AUTOINCREMENT in SQLite parser
-- File Changes --
M lib/SQL/Translator/Parser/SQLite.pm (1)
M t/23json.t (3)
M t/24yaml.t (2)
-- Patch Links --
https://github.com/dbsrgits/sql-translator/pull/158.patch
https://github.com/dbsrgits/sql-translator/pull/158.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/pull/158
You are receiving this because you are subscribed to this thread.
Message ID: <dbsrgits/sql-translator/pull/158 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20230507/783df1c4/attachment.htm>
More information about the DBIx-Class-Devel
mailing list