obdev/db/migrate/20240117023553_create_vendo...

16 lines
293 B
Ruby

class CreateVendors < ActiveRecord::Migration[7.1]
def change
create_table :vendors do |t|
t.string :name
t.string :address
t.string :phone
t.string :email
t.string :dba
t.string :tin
t.string :contact_name
t.timestamps
end
end
end