12 lines
250 B
Ruby
12 lines
250 B
Ruby
|
class CreateReports < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :reports do |t|
|
||
|
t.string :type, null: false
|
||
|
t.integer :target_id, null: false
|
||
|
t.integer :user_id, null: false
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|