diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-06-04 20:04:45 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-06-04 20:04:45 +0000 |
commit | 38a8adb2a20c9c6ae57b0633037290c64a34b624 (patch) | |
tree | 3e3a7ca75019c0c8846dc2ac820e8b819ce30aad /db/migrate/20240213101801_add_queries_description.rb | |
parent | c19176a5c48e33e6bcfe280736092154deb58181 (diff) | |
download | redmine-38a8adb2a20c9c6ae57b0633037290c64a34b624.tar.gz redmine-38a8adb2a20c9c6ae57b0633037290c64a34b624.zip |
Adds description field to custom queries (#9309).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20240213101801_add_queries_description.rb')
-rw-r--r-- | db/migrate/20240213101801_add_queries_description.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20240213101801_add_queries_description.rb b/db/migrate/20240213101801_add_queries_description.rb new file mode 100644 index 000000000..5755731c9 --- /dev/null +++ b/db/migrate/20240213101801_add_queries_description.rb @@ -0,0 +1,9 @@ +class AddQueriesDescription < ActiveRecord::Migration[6.1] + def up + add_column :queries, :description, :string, :after => :name + end + + def down + remove_column :queries, :description + end +end |