mirror of
https://github.com/moebooru/moebooru
synced 2025-08-22 01:47:48 +00:00
10 lines
223 B
Ruby
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
|