cours0708/P5B/ruby/3dossmanno_annuaire/db/schema.rb

38 lines
1.1 KiB
Ruby
Raw Normal View History

2008-11-25 21:11:16 +00:00
# This file is autogenerated. Instead of editing this file, please use the
# migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.
ActiveRecord::Schema.define(:version => 6) do
create_table "addresses", :force => true do |t|
t.column "street", :text
t.column "postal_code", :string
t.column "city", :string
t.column "country", :string
end
create_table "customers", :force => true do |t|
t.column "firstname", :string
t.column "name", :string
end
create_table "products", :force => true do |t|
t.column "designation", :string
t.column "description", :text
t.column "created_at", :datetime
t.column "updated_at", :datetime
t.column "supplier_id", :integer
t.column "customer_id", :integer
t.column "type", :string
end
create_table "suppliers", :force => true do |t|
t.column "name", :string
t.column "description", :text
t.column "code", :string
t.column "created_at", :datetime
t.column "updated_at", :datetime
end
end