struct
Prostore::Steps::Kind::AddForeignKey
- Prostore::Steps::Kind::AddForeignKey
- Struct
- Value
- Object
Overview
Foreign-key kinds. SQLite has no ALTER TABLE ADD/DROP CONSTRAINT FOREIGN KEY for non-empty tables; both go through the table-rebuild helper. Postgres uses ADD CONSTRAINT NOT VALID + VALIDATE CONSTRAINT.
Defined in:
prostore/steps/step.crConstructors
Instance Method Summary
- #clone
- #copy_with(table_name _table_name = @table_name, foreign_key _foreign_key = @foreign_key)
- #foreign_key : Schema::ForeignKey
- #table_name : String
Constructor Detail
Instance Method Detail
def copy_with(table_name _table_name = @table_name, foreign_key _foreign_key = @foreign_key)
#