Skip to content
This repository was archived by the owner on May 21, 2024. It is now read-only.
This repository was archived by the owner on May 21, 2024. It is now read-only.

incorrect drop table statement generated for activerecord-oracle_enhanced-adapter #10

@dchelimsky

Description

@dchelimsky
Error dropping table test_records: OCIError: ORA-00905: missing keyword: DROP TABLE "TEST_RECORDS" CASCADE

The statement should read "DROP TABLE "TEST_RECORDS" CASCADE CONSTRAINTS"

I took a look at patching this by adding the drop_table_with_cascade method to RailsSqlViews::ConnectionAdapters::OracleEnhanced, but for some reason unbeknownst to me the drop_table_with_cascade method in RailsSqlViews::ConnectionAdapters::SchemaStatements was called (even though the RailsSqlViews::ConnectionAdapters::OracleEnhanced module gets included later).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions