kaps_app/db/migrate/20181021211205_create_p_contacts.rb
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +01:00

16 lines
346 B
Ruby

class CreatePContacts < ActiveRecord::Migration
def change
create_table :p_contacts do |t|
t.string :name
t.text :comment
t.string :tel
t.string :email
t.boolean :bc, :boolean, :default => false
t.integer :contactable_id
t.string :contactable_type
t.timestamps null: false
end
end
end