ual_app/db/migrate/20161007154739_create_contact_files.rb
2016-10-20 18:24:38 +02:00

15 lines
317 B
Ruby

class CreateContactFiles < ActiveRecord::Migration
def change
create_table :contact_files do |t|
t.references :admin, index: true
t.references :contact, index: true
t.string :name
t.text :description
t.string :file
t.string :token
t.timestamps
end
end
end