aboutsummaryrefslogblamecommitdiffstats
path: root/activestorage/test/database/setup.rb
blob: 705650a25dc79e0a7120b0d4fb7fd3725a4049c6 (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::Migrator.migrate File.expand_path("../../db/migrate", __dir__)
ActiveStorageCreateUsers.migrate(:up)