Artist urls can be prepended with a '-' to mark is inactive (#3388)

This commit is contained in:
Albert Yi
2018-05-16 15:33:32 -07:00
parent 6acaf999a1
commit fcd80b6043
7 changed files with 52 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
class AddIsActiveToArtistUrls < ActiveRecord::Migration[5.2]
def change
ApplicationRecord.without_timeout do
add_column :artist_urls, :is_active, :boolean, null: false, default: true
end
end
end