Files
old-ribica/front-api/db/migrate/20150314033113_create_suppliers.rb

17 lines
334 B
Ruby

class CreateSuppliers < ActiveRecord::Migration
def change
create_table :suppliers do |t|
t.string :name
t.string :address
t.string :postal_code
t.string :town
t.string :phone
t.string :contact_person
t.string :email
t.text :note
t.timestamps null: false
end
end
end