docbrown/db/migrate/20211013060449_drop_events.rb
Michael Kohl a1f512e49e
✂✂✂ Remove events (#15062)
* Remove events

* Fix schema

* Fix specs

* More removal
2021-10-15 09:31:08 -04:00

22 lines
525 B
Ruby

class DropEvents < ActiveRecord::Migration[6.1]
def up
drop_table :events do |t|
t.string :category
t.string :cover_image
t.text :description_html
t.text :description_markdown
t.datetime :ends_at
t.string :host_name
t.boolean :live_now, default: false
t.string :location_name
t.string :location_url
t.string :profile_image
t.boolean :published
t.string :slug
t.datetime :starts_at
t.string :title
t.timestamps
end
end
end