aboutsummaryrefslogblamecommitdiffstats
path: root/activestorage/test/database/setup.rb
blob: b12038ee688ee292b3d308398013701d743cac59 (plain) (tree)
1
2
3
4
5
6
                                  
                                         
 
                                                                                 

                                      
require "active_storage/migration"
require_relative "create_users_migration"

ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
ActiveStorageCreateTables.migrate(:up)
ActiveStorageCreateUsers.migrate(:up)