1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate/20230729181111_drop_news_posts.rb
Matchu 32b1608346 Drop NewsPosts model
We never ended up really using this lol, and it has an attr_accessible I want to be rid of so let's just fully trash it while we're at it!
2023-07-29 11:19:37 -07:00

10 lines
197 B
Ruby

class DropNewsPosts < ActiveRecord::Migration
def change
drop_table :news_posts do |t|
t.text :body
t.string :html_class, default: 'success'
t.timestamps
end
end
end