Sha256: a07ed79ebacdef0163aafe897dc6e6b5ecba1589bd2d2cf38d211c27c98a004d

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

class PGInitializer
  def self.initialize!
    Superstore::Base.config = {'adapter' => 'jsonb'}
    ActiveRecord::Migration.drop_table('businesses') if ActiveRecord::Migration.table_exists?('businesses')
    Superstore::Base.adapter.create_table('businesses')
  end
end

PGInitializer.initialize!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axle_attributes-1.13.2 test/support/pg.rb