闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
398 B

  1. class CreateReports < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :reports do |t|
  4. t.integer :account_id, null: false
  5. t.integer :target_account_id, null: false
  6. t.integer :status_ids, array: true, null: false, default: []
  7. t.text :comment, null: false, default: ''
  8. t.boolean :action_taken, null: false, default: false
  9. t.timestamps
  10. end
  11. end
  12. end