Sha256: f228f07bb7089ece9476d81676336db79a46059de4087c9175bfef6c8b4e6706
Contents?: true
Size: 552 Bytes
Versions: 2
Compression:
Stored size: 552 Bytes
Contents
ActiveRecord::Schema.define do create_table :table_with_autoincrement, :force => true do |t| t.column :name, :string end 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ibm_db-3.0.5-x86-mingw32 | test/schema/sqlite_specific_schema.rb |
ibm_db-3.0.5 | test/schema/sqlite_specific_schema.rb |