Files
prism/examples/blog/db/migrate/20260906000010_add_status_to_comments.rb
T

10 lines
180 B
Ruby

class AddStatusToComments < Prism::Orm::Migration
def up
add_column :comments, :status, :integer, default: 0
end
def down
remove_column :comments, :status
end
end