Sha256: adbb71024755a9f9a922708f6ce390ad63bf99704feb63df379cbbabf01c3228

Contents?: true

Size: 226 Bytes

Versions: 10

Compression:

Stored size: 226 Bytes

Contents

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

10 entries across 10 versions & 10 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_ndl-0.4.0.rc.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_circulation-0.4.0.rc.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_manifestation_viewer-0.4.0.rc.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_subject-0.4.0.rc.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_event-0.4.0.rc.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_message-0.4.0.rc.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_biblio-0.4.0.rc.1 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
enju_library-0.4.0.rc.1 db/migrate/20110222073537_add_url_to_library_group.rb
enju_seed-0.4.0.rc.2 spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb