summaryrefslogtreecommitdiffstats
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Adds support for multiple repositories per project (#779).Jean-Philippe Lang2012-01-153-0/+32
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8650 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restores migration broken by r8182 and removes default scope on Role (#9800).Jean-Philippe Lang2011-12-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8213 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Role.all broken in migration due to default sort (columns do not exist yet). ↵Jean-Philippe Lang2011-12-101-1/+1
| | | | | | Use raw SQL instead. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8182 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo.Jean-Philippe Lang2011-12-031-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8044 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not trigger repository validation in migration.Jean-Philippe Lang2011-12-031-9/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enforced unicity of relations between 2 issues with a database index (#9685).Etienne Massip2011-12-031-0/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8041 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from ↵Toshi MARUYAMA2011-11-091-1/+1
| | | | | | | | db/migrate/20101104182107_add_unique_index_on_members.rb (#9510) Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7760 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from db/migrate/007_create_journals.rb (#9510)Toshi MARUYAMA2011-11-091-7/+7
| | | | | | Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at db/migrate/097_add_view_wiki_edits_permission.rb ↵Toshi MARUYAMA2011-11-091-6/+6
| | | | | | | | (#9510) Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7758 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at db/migrate/096_add_commit_access_permission.rb (#9510)Toshi MARUYAMA2011-11-091-7/+6
| | | | | | Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7757 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at ↵Toshi MARUYAMA2011-11-091-6/+6
| | | | | | | | db/migrate/099_add_delete_wiki_pages_attachments_permission.rb (#9510) Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7756 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from ↵Toshi MARUYAMA2011-11-091-1/+1
| | | | | | | | db/migrate/20100705164950_change_changes_path_length_limit.rb (#9510) Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from db/migrate/081_create_projects_trackers.rb ↵Toshi MARUYAMA2011-11-091-1/+1
| | | | | | | | (#9510) Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7754 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from db/migrate/068_create_enabled_modules.rb ↵Toshi MARUYAMA2011-11-081-1/+1
| | | | | | | | (#9510) Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7753 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from db/migrate/062_insert_builtin_roles.rb (#9510)Toshi MARUYAMA2011-11-081-2/+2
| | | | | | Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7752 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from db/migrate/029_create_wiki_contents.rb (#9510)Toshi MARUYAMA2011-11-071-1/+1
| | | | | | Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7750 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from db/migrate/055_add_repositories_type.rb ↵Toshi MARUYAMA2011-11-071-1/+1
| | | | | | | | (#9510) Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7749 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from ↵Toshi MARUYAMA2011-11-071-1/+1
| | | | | | | | db/migrate/20100313132032_add_issues_nested_sets_columns.rb (#9510) Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7748 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from db/migrate/001_setup.rb (#9510)Toshi MARUYAMA2011-11-061-30/+30
| | | | | | Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from db/migrate/028_create_wiki_pages.rb (#9510)Toshi MARUYAMA2011-11-061-1/+1
| | | | | | Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7737 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from db/migrate/027_create_wikis.rb (#9510)Toshi MARUYAMA2011-11-061-1/+1
| | | | | | Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* set svn:eol-style native at db/migrate/001_setup.rb (#9510)Toshi MARUYAMA2011-11-061-324/+324
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7735 e93f8b46-1217-0410-a6f0-8f06a7374b81
* change new line 'LF' to 'CRLF' at db/migrate/001_setup.rb (#9510)Toshi MARUYAMA2011-11-061-87/+87
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7734 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: db: model: add parent/child relation for changesets (#5501)Toshi MARUYAMA2011-11-031-0/+14
| | | | | | Contributed by Jan Topiński. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add "extra_info" column to repositories table and set serialize (#7146, ↵Toshi MARUYAMA2011-05-121-0/+9
| | | | | | | | | #7047). This column is for specific SCM. Git 7 days problem (#7146) can not resolve unless storing branches info in database. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5762 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Private issues (#7414).Jean-Philippe Lang2011-04-151-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an issues visibility level on roles (#7412).Jean-Philippe Lang2011-04-111-0/+9
| | | | | | It can be set so that users only see their own issues (created or assigned). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5416 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an index on users.type for faster retrieval of groups.Jean-Philippe Lang2011-04-011-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: copy global log encoding setting to repository (#1735).Toshi MARUYAMA2011-03-011-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add log_encoding column to repositories table (#1735).Toshi MARUYAMA2011-03-011-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4980 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Keep track of issue description changes (#746).Jean-Philippe Lang2011-02-271-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for SCM/LDAP passwords encryption in the database (#7411).Jean-Philippe Lang2011-02-262-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add "path_encoding" column in repositories table (#2664, #2274).Toshi MARUYAMA2011-02-241-0/+9
| | | | | | Contributed by Yuya Nishihara. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds random salt to user passwords (#7410).Jean-Philippe Lang2011-02-232-0/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow additional workflow transitions for issue author and assignee (#2732).Jean-Philippe Lang2011-02-201-0/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added missing remove_index in AddUniqueIndexOnMembers down migration. #7212Jean-Baptiste Barth2011-01-011-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4610 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Migration from boolean to varchar fails on PostgreSQL 8.1 (#6943).Jean-Philippe Lang2010-11-202-5/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raised maximum length of project names and identifiers to 255 and 100 ↵Jean-Philippe Lang2010-11-142-0/+18
| | | | | | respectively (#6446). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4402 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure existing custom fields visibility is set to true.Jean-Philippe Lang2010-11-071-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4383 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a "visible" option on User and Project custom fields (#1738).Jean-Philippe Lang2010-11-071-0/+9
| | | | | | If set to false, the custom field won't be display on user profile/project overview. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4382 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clean up member_roles if needed.Jean-Philippe Lang2010-11-061-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a unique index on members (#6826).Jean-Philippe Lang2010-11-061-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rewrites UpdateMailNotificationValues migration to avoid model validations ↵Jean-Philippe Lang2010-11-061-16/+3
| | | | | | and failures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Correctly update all mail_notification options. #6549Eric Davis2010-10-101-2/+16
| | | | | | | | | * Need to check for 't' values to support sqlite * Need to check the membership count for the 'selected' option Based on patch contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4246 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converted User#mail_notification from a boolean to a string.Eric Davis2010-09-282-0/+20
| | | | | | The string will now store which type of notification option to use. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4216 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Treat Calendar and Gantt pages as separate modules. #6153Eric Davis2010-08-221-0/+12
| | | | | | | | | | This will let the Issue Tracking, Gantt, and Calendar modules be enabled or disabled as needed. A database migration will enable the Gantt and Calendar for all existing projects that have Issue Tracking enabled. Contributed by Adam Soltys git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force-clear the default value for migration from :string to :text. #5846 #5771Eric Davis2010-07-241-0/+3
| | | | | | | | This is a special case for MySQL in Win32. Contributed by Holger Just. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3860 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force the default value of path to be set on the Change model class. #5771Eric Davis2010-07-061-1/+1
| | | | | | | | | This is needed because MySQL does not support default values on text columns (Error introduced in r3828) Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3830 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extend changes.path and changes.from_path to support longer paths. #5771Eric Davis2010-07-061-0/+11
| | | | | | | | | Long paths to SCM files would be truncated or wouldn't insert into some databases. This extends those fields to support arbitrary length filenames. Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3828 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds index on issues nested set columns.Jean-Philippe Lang2010-03-131-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3578 e93f8b46-1217-0410-a6f0-8f06a7374b81