diff options
3 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/connections/native_sqlite/connection.rb b/activerecord/test/connections/native_sqlite/connection.rb index ce3494fb7d..b714e1782a 100644 --- a/activerecord/test/connections/native_sqlite/connection.rb +++ b/activerecord/test/connections/native_sqlite/connection.rb @@ -34,4 +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/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")) |