aboutsummaryrefslogblamecommitdiffstats
path: root/activestorage/test/database/setup.rb
blob: 87564499e676885f0e62a08b683fde033a0e7f5a (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", __FILE__)
ActiveStorageCreateUsers.migrate(:up)