class CreateCompanies < ActiveRecord::Migration[5.0]
  def change
    create_table :companies do |t|
      t.string :name, null: false, default: ''
      t.string :description, null: false, default: ''
      t.string :country, null: false, default: ''
      t.string :state, null: false, default: ''
      t.string :city, null: false, default: ''
      t.string :address, null: false, default: ''
      t.string :email, null: false, default: ''
      t.string :phone_number, null: false, default: ''
      t.string :image, null: false, default: ''
      t.timestamps
    end
  end
end
