diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-20 19:54:58 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-20 19:54:58 -0700 |
| commit | 64f61d074312782050da3a06185f99fe59249b8f (patch) | |
| tree | ace308cda6031c33a44f417975ddbd7ec86141c2 /db/schema.rb | |
| parent | cdfc77e265a9720d5a6207447b84629940e3efa0 (diff) | |
switch to using a uuid.
Diffstat (limited to 'db/schema.rb')
| -rw-r--r-- | db/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb index 86fbee4..ace9922 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,13 +11,13 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20140221024327) do +ActiveRecord::Schema.define(version: 20140221025310) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" enable_extension "uuid-ossp" - create_table "licenses", force: true do |t| + create_table "licenses", id: :uuid, default: "uuid_generate_v4()", force: true do |t| t.datetime "created_at" t.datetime "updated_at" end |
