agenda-libre-ruby/db/migrate/20170422083422_change_events_null_url.rb

7 lines
170 B
Ruby
Raw Normal View History

2017-04-22 11:35:37 +02:00
# Event url are now optional
class ChangeEventsNullUrl < ActiveRecord::Migration
def change
change_column :events, :url, :string, default: '', null: true
end
end