logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20170214110202_create_reports.rb (398B)


  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