added user model

This commit is contained in:
Edin Dazdarevic
2015-02-20 06:55:18 +01:00
parent 7c27d9415a
commit 8f904099cf
6 changed files with 55 additions and 8 deletions

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150207120207) do
ActiveRecord::Schema.define(version: 20150218053655) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -86,10 +86,8 @@ ActiveRecord::Schema.define(version: 20150207120207) do
end
create_table "sub_categories", force: :cascade do |t|
t.string "name"
t.integer "category_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "name"
t.integer "category_id"
end
create_table "units", force: :cascade do |t|
@@ -99,4 +97,11 @@ ActiveRecord::Schema.define(version: 20150207120207) do
t.string "number_of_pieces_suffix"
end
create_table "users", force: :cascade do |t|
t.string "first_name"
t.string "last_name"
t.string "email"
t.string "password_digest"
end
end