Sha256: c573d6116bf8535a8895f4147b2e49c291b137e8910e2f063b8437e26623a22f

Contents?: true

Size: 224 Bytes

Versions: 791

Compression:

Stored size: 224 Bytes

Contents

class AddUrlToLibraryGroup < ActiveRecord::Migration
  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

791 entries across 783 versions & 26 rubygems

Version Path
enju_bookmark-0.2.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_subject-0.2.2 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_circulation-0.2.3 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_message-0.2.2 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_biblio-0.2.3 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_library-0.2.3 db/migrate/20110222073537_add_url_to_library_group.rb
enju_seed-0.2.2 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_ndl-0.2.3 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_ndl-0.2.2 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_grid-0.2.0 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_biblio-0.2.2 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_manifestation_viewer-0.2.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_circulation-0.2.2 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_ndl-0.2.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_event-0.2.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_message-0.2.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_subject-0.2.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_leaf-1.2.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb