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

                             
                                         
 
                                                                                 
                                                       
                                     
# frozen_string_literal: true

require_relative "create_users_migration"

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