push from Ruby Mine
This commit is contained in:
parent
3e2ebd9537
commit
34d080a3ce
|
|
@ -1,4 +1,6 @@
|
||||||
ReTest::Application.routes.draw do
|
ReTest::Application.routes.draw do
|
||||||
|
resources :gem_crafts
|
||||||
|
|
||||||
resources :products
|
resources :products
|
||||||
|
|
||||||
# The priority is based upon order of creation: first created -> highest priority.
|
# The priority is based upon order of creation: first created -> highest priority.
|
||||||
|
|
|
||||||
13
db/schema.rb
13
db/schema.rb
|
|
@ -11,7 +11,18 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20131003210237) do
|
ActiveRecord::Schema.define(version: 20131009084203) do
|
||||||
|
|
||||||
|
create_table "gem_crafts", force: true do |t|
|
||||||
|
t.string "name"
|
||||||
|
t.integer "price"
|
||||||
|
t.integer "books_type"
|
||||||
|
t.integer "books_qnt"
|
||||||
|
t.integer "previous_id"
|
||||||
|
t.integer "previous_qnt"
|
||||||
|
t.datetime "created_at"
|
||||||
|
t.datetime "updated_at"
|
||||||
|
end
|
||||||
|
|
||||||
create_table "products", force: true do |t|
|
create_table "products", force: true do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue