Sha256: 6017344d4a3512c0366255d7ca0c7c1e2ba1ccc0814d44c8f7284d152a3e61df
Contents?: true
Size: 451 Bytes
Versions: 6
Compression:
Stored size: 451 Bytes
Contents
ActiveRecord::Schema.define do execute "DROP TABLE fk_test_has_fk" rescue nil execute "DROP TABLE fk_test_has_pk" rescue nil execute <<_SQL CREATE TABLE 'fk_test_has_pk' ( 'pk_id' INTEGER NOT NULL PRIMARY KEY ); _SQL execute <<_SQL CREATE TABLE 'fk_test_has_fk' ( 'id' INTEGER NOT NULL PRIMARY KEY, 'fk_id' INTEGER NOT NULL, FOREIGN KEY ('fk_id') REFERENCES 'fk_test_has_pk'('pk_id') ); _SQL end
Version data entries
6 entries across 6 versions & 1 rubygems