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:
authorgitlabhq <m@gitlabhq.com>2011-10-25 08:34:02 +0400
committergitlabhq <m@gitlabhq.com>2011-10-25 08:34:02 +0400
commit9afee5ad5298dc4c89ec74c5fda44adfc91de1b2 (patch)
tree857e88a2cabb73297e13eb940156c82258cebc0c /db
parentafe98ae74ab13d11908e74ada1d10dccc333228b (diff)
Add critical status to issues
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20111025134235_add_high_label_to_issue.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20111025134235_add_high_label_to_issue.rb b/db/migrate/20111025134235_add_high_label_to_issue.rb
new file mode 100644
index 00000000000..676eaaf8c1b
--- /dev/null
+++ b/db/migrate/20111025134235_add_high_label_to_issue.rb
@@ -0,0 +1,5 @@
+class AddHighLabelToIssue < ActiveRecord::Migration
+ def change
+ add_column :issues, :critical, :boolean, :default => false, :null => false
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index cc805990a8b..21c224d4a90 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20111021101550) do
+ActiveRecord::Schema.define(:version => 20111025134235) do
create_table "issues", :force => true do |t|
t.string "title"
@@ -23,6 +23,7 @@ ActiveRecord::Schema.define(:version => 20111021101550) do
t.datetime "updated_at"
t.boolean "closed", :default => false, :null => false
t.integer "position", :default => 0
+ t.boolean "critical", :default => false, :null => false
end
create_table "keys", :force => true do |t|