Sha256: 20b4a4980c806b3e4bcbf4212d14c79bb6408a610eed7123496fc47a524359d6

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

class AddUrlToLibraryGroup < ActiveRecord::Migration[5.1]
  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.4.0.beta.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb