docbrown/db/migrate/20170921221837_add_automatically_renew_to_articles.rb
2018-02-28 16:11:08 -05:00

6 lines
220 B
Ruby

class AddAutomaticallyRenewToArticles < ActiveRecord::Migration[5.1]
def change
add_column :articles, :automatically_renew, :boolean, default: false
add_column :articles, :last_invoiced_at, :datetime
end
end