summaryrefslogtreecommitdiff
path: root/db/migrate/20130506085413_add_type_to_key.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-06 12:27:54 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-06 12:27:54 +0300
commita735ce2aa7da72242629a4452c33e7a1900fdd62 (patch)
tree6d4c8db368a72b82873396979d59a16280bf2645 /db/migrate/20130506085413_add_type_to_key.rb
parent543d86f351780ebfd9bdd945e6cc247da4919602 (diff)
downloadgitlab-ce-a735ce2aa7da72242629a4452c33e7a1900fdd62.tar.gz
migrations for ssh key STI and deploy keys <-> projects relation
Diffstat (limited to 'db/migrate/20130506085413_add_type_to_key.rb')
-rw-r--r--db/migrate/20130506085413_add_type_to_key.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20130506085413_add_type_to_key.rb b/db/migrate/20130506085413_add_type_to_key.rb
new file mode 100644
index 00000000000..315e7ca77b3
--- /dev/null
+++ b/db/migrate/20130506085413_add_type_to_key.rb
@@ -0,0 +1,5 @@
+class AddTypeToKey < ActiveRecord::Migration
+ def change
+ add_column :keys, :type, :string
+ end
+end