Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20110915213352_create_keys.rb')
-rw-r--r--db/migrate/20110915213352_create_keys.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20110915213352_create_keys.rb b/db/migrate/20110915213352_create_keys.rb
new file mode 100644
index 00000000000..d4615b4babf
--- /dev/null
+++ b/db/migrate/20110915213352_create_keys.rb
@@ -0,0 +1,9 @@
+class CreateKeys < ActiveRecord::Migration
+ def change
+ create_table :keys do |t|
+ t.integer :user_id, :null => false
+ t.text :project_id, :null => false
+ t.timestamps
+ end
+ end
+end