Sha256: 5bd1fb32f25df3604152af6b5a55a610696be757ece66dafce0271585c2a2973

Contents?: true

Size: 226 Bytes

Versions: 10

Compression:

Stored size: 226 Bytes

Contents

class AddCountToSongRefTable < ActiveRecord::Migration[5.0]

  def up
    add_column :song_refs, :song_occurences_count, :integer, :default => 0
  end

  def down
    remove_column :song_refs, :song_occurences_count
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gdshowsdb-4.0.2 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb
gdshowsdb-4.0.1 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb
gdshowsdb-4.0.0 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb
gdshowsdb-3.0.0 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb
gdshowsdb-2.1.0 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb
gdshowsdb-2.0.0 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb
gdshowsdb-1.0.3 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb
gdshowsdb-1.0.2 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb
gdshowsdb-1.0.1 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb
gdshowsdb-1.0.0 lib/gdshowsdb/db/migrations/008_add_count_to_song_ref_table.rb