Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alter table add constraint postgres #4116

Merged

Commits on Apr 27, 2023

  1. Add postgressql fixture test for table add constraint

    This is copied from mysql fixtures to the postgressql
    dialect.
    griffio committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    f89e9f2 View commit details
    Browse the repository at this point in the history
  2. Update postgressql grammer support for table add constraint

    Update parserImports to include ADD and FOREIGN override types.
    This was necessary for all the fixture tests to pass including the inherited fixture
    tests from sql-psi.
    
    Copied similar grammar structure from mysql dialect.
    
    Issues found:
    This is minimal enough for unique key and primary key - as I am figuring it out as I go along
    CHECK constraints need to be addressed as currently useful functions like `char_length` are missing.
    griffio committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    b1d4419 View commit details
    Browse the repository at this point in the history