2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-22 09:57:31 +00:00
moebooru/db/migrate/20120920173324_disallow_anonymous_forum_posts.rb

10 lines
223 B
Ruby
Raw Permalink Normal View History

class DisallowAnonymousForumPosts < ActiveRecord::Migration[5.1]
def up
2024-01-08 19:39:01 +09:00
change_column :forum_posts, :creator_id, :integer, null: false
end
def down
change_column :forum_posts, :creator_id, :integer
end
end