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
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20120317095543_add_description_to_issues.rb5
-rw-r--r--db/schema.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20120317095543_add_description_to_issues.rb b/db/migrate/20120317095543_add_description_to_issues.rb
new file mode 100644
index 00000000000..e47e3f8e898
--- /dev/null
+++ b/db/migrate/20120317095543_add_description_to_issues.rb
@@ -0,0 +1,5 @@
+class AddDescriptionToIssues < ActiveRecord::Migration
+ def change
+ add_column :issues, :description, :text
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index c76fd9b5d98..d2c54b50f67 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -27,6 +27,7 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
create_table "issues", :force => true do |t|
t.string "title"
+ t.text "description"
t.integer "assignee_id"
t.integer "author_id"
t.integer "project_id"