summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20230818020734_add_status_description.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20230818020734_add_status_description.rb b/db/migrate/20230818020734_add_status_description.rb
new file mode 100644
index 000000000..be1b1429b
--- /dev/null
+++ b/db/migrate/20230818020734_add_status_description.rb
@@ -0,0 +1,9 @@
+class AddStatusDescription < ActiveRecord::Migration[6.1]
+ def up
+ add_column :issue_statuses, :description, :string, :after => :name
+ end
+
+ def down
+ remove_column :issue_statuses, :description
+ end
+end