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:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-09 01:36:38 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-09 01:36:38 +0400
commite98c77857f9f765d1854b92c2dc33049504a596d (patch)
tree52fbfc1cdb55df21843965479c97be0c91121a9a /db/migrate/20110928140106_add_project_id_for_note.rb
parent0f43e98ef8c2da8908b1107f75b67cda2572c2c4 (diff)
init commitv0.9.4
Diffstat (limited to 'db/migrate/20110928140106_add_project_id_for_note.rb')
-rw-r--r--db/migrate/20110928140106_add_project_id_for_note.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20110928140106_add_project_id_for_note.rb b/db/migrate/20110928140106_add_project_id_for_note.rb
new file mode 100644
index 00000000000..3e641089799
--- /dev/null
+++ b/db/migrate/20110928140106_add_project_id_for_note.rb
@@ -0,0 +1,9 @@
+class AddProjectIdForNote < ActiveRecord::Migration
+ def up
+ add_column :notes, :project_id, :integer
+ end
+
+ def down
+ remove_column :notes, :project_id, :integer
+ end
+end