mirror of
https://github.com/TracksApp/tracks.git
synced 2026-04-18 10:09:02 +02:00
Fix #592 be able to set default tags for a project. Default tags can now be specified when creating or editing a project, and they will be applied to any new todos created in that project.
This commit is contained in:
parent
3d3b658763
commit
42bea2490b
8 changed files with 122 additions and 13 deletions
9
db/migrate/20090301154745_add_default_tags_to_project.rb
Normal file
9
db/migrate/20090301154745_add_default_tags_to_project.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class AddDefaultTagsToProject < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :projects, :default_tags, :string
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :projects, :default_tags
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue