2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-22 01:47:48 +00:00
moebooru/db/migrate/20120920173324_disallow_anonymous_forum_posts.rb
2024-01-08 19:39:01 +09:00

10 lines
223 B
Ruby

class DisallowAnonymousForumPosts < ActiveRecord::Migration[5.1]
def up
change_column :forum_posts, :creator_id, :integer, null: false
end
def down
change_column :forum_posts, :creator_id, :integer
end
end