summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-20 19:54:58 -0700
committermo khan <mo@mokhan.ca>2014-02-20 19:54:58 -0700
commit64f61d074312782050da3a06185f99fe59249b8f (patch)
treeace308cda6031c33a44f417975ddbd7ec86141c2 /db/migrate
parentcdfc77e265a9720d5a6207447b84629940e3efa0 (diff)
switch to using a uuid.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20140221025310_recreate_licenses.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20140221025310_recreate_licenses.rb b/db/migrate/20140221025310_recreate_licenses.rb
new file mode 100644
index 0000000..a1229b5
--- /dev/null
+++ b/db/migrate/20140221025310_recreate_licenses.rb
@@ -0,0 +1,8 @@
+class RecreateLicenses < ActiveRecord::Migration
+ def change
+ drop_table :licenses
+ create_table :licenses, id: :uuid do |t|
+ t.timestamps
+ end
+ end
+end