Skip to content
  • Ryuta Kamizono's avatar
    da584343
    SQLite3: Implement `add_foreign_key` and `remove_foreign_key` · da584343
    Ryuta Kamizono authored
    I implemented Foreign key create in `create_table` for SQLite3 at
    #24743. This follows #24743 to implement `add_foreign_key` and
    `remove_foreign_key`.
    Unfortunately SQLite3 has one limitation that
    `PRAGMA foreign_key_list(table-name)` doesn't have constraint name.
    So we couldn't implement find/remove foreign key by name for now.
    
    Fixes #35207.
    Closes #31343.
    da584343
    SQLite3: Implement `add_foreign_key` and `remove_foreign_key`
    Ryuta Kamizono authored
    I implemented Foreign key create in `create_table` for SQLite3 at
    #24743. This follows #24743 to implement `add_foreign_key` and
    `remove_foreign_key`.
    Unfortunately SQLite3 has one limitation that
    `PRAGMA foreign_key_list(table-name)` doesn't have constraint name.
    So we couldn't implement find/remove foreign key by name for now.
    
    Fixes #35207.
    Closes #31343.
Loading