diff options
author | Andrew White <pixeltrix@users.noreply.github.com> | 2017-01-17 15:24:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-17 15:24:17 +0000 |
commit | d665c611096ece7579475e381bfe45235515e8fb (patch) | |
tree | 353403787a9b5ec77cbea0606fd10282bc60ba53 /activerecord/test/schema/sqlite_specific_schema.rb | |
parent | ab91a2be3aef3e2ca3bf4201186cde0afbbf7cf5 (diff) | |
parent | 24f264e9ca0f1ce3b16392b8ee6360480251f556 (diff) | |
download | rails-d665c611096ece7579475e381bfe45235515e8fb.tar.gz rails-d665c611096ece7579475e381bfe45235515e8fb.tar.bz2 rails-d665c611096ece7579475e381bfe45235515e8fb.zip |
Merge pull request #24743 from kamipo/sqlite_foreing_key_support
SQLite: Foreign Key Support
Diffstat (limited to 'activerecord/test/schema/sqlite_specific_schema.rb')
-rw-r--r-- | activerecord/test/schema/sqlite_specific_schema.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/activerecord/test/schema/sqlite_specific_schema.rb b/activerecord/test/schema/sqlite_specific_schema.rb deleted file mode 100644 index cc7c36fe2b..0000000000 --- a/activerecord/test/schema/sqlite_specific_schema.rb +++ /dev/null @@ -1,18 +0,0 @@ -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 |