mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
16 lines
333 B
Ruby
16 lines
333 B
Ruby
# frozen_string_literal:true
|
|
|
|
class CreateAbuses < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :abuses do |t|
|
|
t.references :signaled, polymorphic: true, index: true
|
|
t.string :first_name
|
|
t.string :last_name
|
|
t.string :email
|
|
t.text :message
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|