summaryrefslogtreecommitdiffstats
path: root/db/migrate/20220806215628_add_default_time_entry_activity_to_roles.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-08-09 02:50:11 +0000
committerGo MAEDA <maeda@farend.jp>2022-08-09 02:50:11 +0000
commit38f7a064051f581ea3a6f40f6957cf5e2021ce7a (patch)
tree83446b1c47c5743724ce837e81dff8cb9ebc6231 /db/migrate/20220806215628_add_default_time_entry_activity_to_roles.rb
parent5c5ae4637c903279f6297aa73a7b0035d3bfb59d (diff)
downloadredmine-38f7a064051f581ea3a6f40f6957cf5e2021ce7a.tar.gz
redmine-38f7a064051f581ea3a6f40f6957cf5e2021ce7a.zip
Add default spent time activity per role (#29286).
Patch by Marius BALTEANU and Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21763 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20220806215628_add_default_time_entry_activity_to_roles.rb')
-rw-r--r--db/migrate/20220806215628_add_default_time_entry_activity_to_roles.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20220806215628_add_default_time_entry_activity_to_roles.rb b/db/migrate/20220806215628_add_default_time_entry_activity_to_roles.rb
new file mode 100644
index 000000000..46c1bd83c
--- /dev/null
+++ b/db/migrate/20220806215628_add_default_time_entry_activity_to_roles.rb
@@ -0,0 +1,5 @@
+class AddDefaultTimeEntryActivityToRoles < ActiveRecord::Migration[6.1]
+ def change
+ add_column :roles, :default_time_entry_activity_id, :int
+ end
+end