summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-20 19:48:03 -0700
committermo khan <mo@mokhan.ca>2014-02-20 19:49:04 -0700
commit60f1cea60b2ba69c21620eb244a0d7c102859830 (patch)
treede988950e5eefa794076c9932f999eef9d65d382 /db
parentba8ebf09cd54dbf58bfb8ba032075ac895fea9bb (diff)
enabled uuid extension.
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140221024327_enable_uuid_extension.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20140221024327_enable_uuid_extension.rb b/db/migrate/20140221024327_enable_uuid_extension.rb
new file mode 100644
index 0000000..876b6aa
--- /dev/null
+++ b/db/migrate/20140221024327_enable_uuid_extension.rb
@@ -0,0 +1,5 @@
+class EnableUuidExtension < ActiveRecord::Migration
+ def change
+ enable_extension 'uuid-ossp'
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 37479de..86fbee4 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,10 +11,11 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20140221015819) do
+ActiveRecord::Schema.define(version: 20140221024327) 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|
t.datetime "created_at"