[DBIx-Class-Devel] [dbsrgits/sql-translator] Oracle add alter constraint (PR #143)

hazardv notifications at github.com
Fri Aug 19 16:33:10 GMT 2022


Adds functionality to Producer/Oracle.pm to drop constraints and drop fields. Related tests have been added as well.

Changes were modeled after the structure of Producer/MySQL.pm.

This branch also includes changes from pull request #142 
You can view, comment on, or merge this pull request online at:

  https://github.com/dbsrgits/sql-translator/pull/143

-- Commit Summary --

  * Added support for CURRENT_TIMESTAMP as a default value when parsing Oracle SQL.
  * Added tests to verify changes to oracle parser.
  * Split the creation of contraints out from the creation of the table and added alter_create_constraint and alter_drop_constraint functions.
  * Missing a few small things
  * Added drop_field to Oracle.pm and added alter constraint testing.

-- File Changes --

    M lib/SQL/Translator/Parser/Oracle.pm (17)
    M lib/SQL/Translator/Producer/Oracle.pm (160)
    M t/15oracle-parser.t (15)
    A t/54-oracle-alter-constraint.t (55)
    R t/55-oracle-add-drop-field.t (7)
    M t/data/oracle/schema_diff_b.yaml (11)
    A t/data/oracle/schema_diff_d.yaml (73)
    A t/data/oracle/schema_diff_e.yaml (70)

-- Patch Links --

https://github.com/dbsrgits/sql-translator/pull/143.patch
https://github.com/dbsrgits/sql-translator/pull/143.diff

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

Message ID: <dbsrgits/sql-translator/pull/143 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20220819/95f7f085/attachment.htm>


More information about the DBIx-Class-Devel mailing list