mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-13 23:48:55 +01:00
14 lines
298 B
Ruby
14 lines
298 B
Ruby
class CreateAbuses < ActiveRecord::Migration
|
|
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
|