Sha256: 1785cefd0e25d884c58c73824c569a0f0cc5bd61c24a6fd97b32defdab93a977

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

class AddUrlToLibraryGroup < ActiveRecord::Migration[5.0]
  def self.up
    add_column :library_groups, :url, :string, :default => 'http://localhost:3000/'
  end

  def self.down
    remove_column :library_groups, :url
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb