Sha256: 7e621be0e78b33b20d9a18728b57446767e2e091f728d47a1a169731d06d6bcf

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

ActiveRecord::Base.logger = Logger.new(LOG_PATH)
ActiveRecord::Base.establish_connection(
  adapter: "sqlite3", database: ":memory:"
)

class Schema < ActiveRecord::Migration

  def change
    create_table :websites do |t|
      t.text :config
    end
  end
end

silence_stream(STDOUT) do
  Schema.new.change
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
store_schema-0.0.1 spec/support/db.rb