summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-01-03 08:40:59 -0700
committermo khan <mo@mokhan.ca>2015-01-03 08:40:59 -0700
commitf80e87be4dcbf7d1a1315880bceef2ac17c8f725 (patch)
tree5292c346cc91ea41e8221464b69838ac95f30dec /db/schema.rb
parent11ec6f1b35e57d71ae68e24a7574686c10f1b9b7 (diff)
happy day scenario user registration.
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index ea89ed5..878df00 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,9 +11,15 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 0) do
+ActiveRecord::Schema.define(version: 20150103150805) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
+ enable_extension "uuid-ossp"
+
+ create_table "users", id: :uuid, default: "uuid_generate_v4()", force: :cascade do |t|
+ t.string "username", null: false
+ t.string "email", null: false
+ end
end