diff options
Diffstat (limited to 'activerecord/test/connections/native_sqlite3')
-rw-r--r-- | activerecord/test/connections/native_sqlite3/connection.rb | 1 | ||||
-rw-r--r-- | activerecord/test/connections/native_sqlite3/in_memory_connection.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/connections/native_sqlite3/connection.rb b/activerecord/test/connections/native_sqlite3/connection.rb index ab6686076f..182ec6ba68 100644 --- a/activerecord/test/connections/native_sqlite3/connection.rb +++ b/activerecord/test/connections/native_sqlite3/connection.rb @@ -34,3 +34,4 @@ end make_connection(ActiveRecord::Base, sqlite_test_db, 'sqlite.sql') make_connection(Course, sqlite_test_db2, 'sqlite2.sql') +load(File.join(BASE_DIR, 'db_definitions', 'schema.rb')) diff --git a/activerecord/test/connections/native_sqlite3/in_memory_connection.rb b/activerecord/test/connections/native_sqlite3/in_memory_connection.rb index 31b1597048..32bf6a2770 100644 --- a/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +++ b/activerecord/test/connections/native_sqlite3/in_memory_connection.rb @@ -15,3 +15,4 @@ end make_connection(ActiveRecord::Base, 'sqlite.sql') make_connection(Course, 'sqlite2.sql') + load("#{File.dirname(__FILE__)}/../../fixtures/db_definitions/schema.rb")) |