aboutsummaryrefslogblamecommitdiffstats
path: root/activestorage/test/database/setup.rb
blob: 610b927cc3145a83f7832c0390116cc74b7438bb (plain) (tree)
1
2
3
4
5
                                         
 
                                                                                 
                                                                                
                                     
require_relative "create_users_migration"

ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
ActiveRecord::Migrator.migrate File.expand_path("../../../db/migrate", __FILE__)
ActiveStorageCreateUsers.migrate(:up)