aboutsummaryrefslogblamecommitdiffstats
path: root/test/database/setup.rb
blob: 21ede8f49ce0f384679040df56d06296f263908f (plain) (tree)
1
2
3
4



                                                                                 
require "active_file/migration"

ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
ActiveFile::CreateBlobs.migrate(:up)