StuRa:Server/Redmine: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
KKeine Bearbeitungszusammenfassung |
|||
Zeile 1.327: | Zeile 1.327: | ||
</pre> | </pre> | ||
:: <code>bundle install</code> | :: <code>bundle install</code> | ||
<!-- | |||
<pre> | |||
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break | |||
this application for all non-root users on this machine. | |||
Could not locate Gemfile or .bundle/ directory | |||
redmine-doc# cd /usr/local/www/redmine | |||
redmine-doc# bundle install | |||
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break | |||
this application for all non-root users on this machine. | |||
Your Gemfile lists the gem mysql2 (~> 0.3.11) more than once. | |||
You should probably keep only one of them. | |||
While it's not a problem now, it could cause errors if you change the version of one of them later. | |||
Fetching gem metadata from https://rubygems.org/.......... | |||
Fetching version metadata from https://rubygems.org/.. | |||
Fetching dependency metadata from https://rubygems.org/. | |||
Resolving dependencies.................................................................. | |||
Installing rake 12.3.0 | |||
Installing concurrent-ruby 1.0.5 | |||
Installing minitest 5.10.3 | |||
Installing thread_safe 0.3.6 | |||
Installing builder 3.2.3 | |||
Using erubis 2.7.0 | |||
Installing mini_portile2 2.3.0 | |||
Installing crass 1.0.3 | |||
Installing rack 1.6.8 | |||
Installing mini_mime 1.0.0 | |||
Using arel 6.0.4 | |||
Installing public_suffix 3.0.1 | |||
Using bundler 1.13.7 | |||
Installing coderay 1.1.2 | |||
Installing daemons 1.2.5 | |||
Installing eventmachine 1.2.5 with native extensions | |||
Using htmlentities 4.3.4 | |||
Installing thor 0.20.0 | |||
Using mime-types-data 3.2016.0521 | |||
Installing mimemagic 0.3.2 | |||
Installing mysql2 0.3.21 with native extensions | |||
Using ruby-openid 2.7.0 | |||
Installing rbpdf-font 1.19.1 | |||
Using redcarpet 3.4.0 | |||
Installing request_store 1.3.2 | |||
Using rmagick 2.16.0 | |||
Installing i18n 0.9.1 | |||
Installing tzinfo 1.2.4 | |||
Installing nokogiri 1.8.1 with native extensions | |||
Using rack-test 0.6.3 | |||
Installing sprockets 3.7.1 | |||
Installing mail 2.7.0 | |||
Installing addressable 2.5.2 | |||
Installing thin 1.7.2 with native extensions | |||
Using mime-types 3.1 | |||
Using rack-openid 1.4.2 | |||
Installing rbpdf 1.19.3 | |||
Installing activesupport 4.2.10 | |||
Installing loofah 2.1.1 | |||
Installing css_parser 1.6.0 | |||
Using rails-deprecated_sanitizer 1.0.3 | |||
Installing globalid 0.4.1 | |||
Installing activemodel 4.2.10 | |||
Using rails-html-sanitizer 1.0.3 | |||
Installing roadie 3.2.2 | |||
Installing rails-dom-testing 1.0.8 | |||
Installing activejob 4.2.10 | |||
Installing activerecord 4.2.10 | |||
Installing protected_attributes 1.1.4 | |||
Installing actionview 4.2.10 | |||
Installing actionpack 4.2.10 | |||
Installing actionmailer 4.2.10 | |||
Installing actionpack-action_caching 1.2.0 | |||
Using actionpack-xml_parser 1.0.2 | |||
Installing railties 4.2.10 | |||
Installing sprockets-rails 3.2.1 | |||
Installing jquery-rails 4.3.1 | |||
Installing roadie-rails 1.2.1 | |||
Installing rails 4.2.10 | |||
Bundle complete! 24 Gemfile dependencies, 59 gems now installed. | |||
Use `bundle show [gemname]` to see where a bundled gem is installed. | |||
</pre> | |||
!--> | |||
:: <code>rake generate_session_store</code> | :: <code>rake generate_session_store</code> | ||
<pre> | <pre> | ||
Note: The rake task generate_session_store has been deprecated, please use the replacement version generate_secret_token | Note: The rake task generate_session_store has been deprecated, please use the replacement version generate_secret_token | ||
</pre> | </pre> | ||
:: <code>rake generate_secret_token</code> | |||
: <code>RAILS_ENV=production rake db:migrate</code> | : <code>RAILS_ENV=production rake db:migrate</code> | ||
<!-- | |||
<pre> | |||
== 1 Setup: migrating ========================================================= | |||
-- create_table("attachments", {:force=>true}) | |||
-> 0.0738s | |||
-- create_table("auth_sources", {:force=>true}) | |||
-> 0.1521s | |||
-- create_table("custom_fields", {:force=>true}) | |||
-> 0.0982s | |||
-- create_table("custom_fields_projects", {:id=>false, :force=>true}) | |||
-> 0.1518s | |||
-- create_table("custom_fields_trackers", {:id=>false, :force=>true}) | |||
-> 0.0711s | |||
-- create_table("custom_values", {:force=>true}) | |||
-> 0.0793s | |||
-- create_table("documents", {:force=>true}) | |||
-> 0.0912s | |||
-- add_index("documents", ["project_id"], {:name=>"documents_project_id"}) | |||
-> 0.0767s | |||
-- create_table("enumerations", {:force=>true}) | |||
-> 0.0761s | |||
-- create_table("issue_categories", {:force=>true}) | |||
-> 0.0957s | |||
-- add_index("issue_categories", ["project_id"], {:name=>"issue_categories_project_id"}) | |||
-> 0.0848s | |||
-- create_table("issue_histories", {:force=>true}) | |||
-> 0.0992s | |||
-- add_index("issue_histories", ["issue_id"], {:name=>"issue_histories_issue_id"}) | |||
-> 0.0829s | |||
-- create_table("issue_statuses", {:force=>true}) | |||
-> 0.0928s | |||
-- create_table("issues", {:force=>true}) | |||
-> 0.0932s | |||
-- add_index("issues", ["project_id"], {:name=>"issues_project_id"}) | |||
-> 0.1122s | |||
-- create_table("members", {:force=>true}) | |||
-> 0.0933s | |||
-- create_table("news", {:force=>true}) | |||
-> 0.0996s | |||
-- add_index("news", ["project_id"], {:name=>"news_project_id"}) | |||
-> 0.0869s | |||
-- create_table("permissions", {:force=>true}) | |||
-> 0.0910s | |||
-- create_table("permissions_roles", {:id=>false, :force=>true}) | |||
-> 0.0971s | |||
-- add_index("permissions_roles", ["role_id"], {:name=>"permissions_roles_role_id"}) | |||
-> 0.0852s | |||
-- create_table("projects", {:force=>true}) | |||
-> 0.1009s | |||
-- create_table("roles", {:force=>true}) | |||
-> 0.0938s | |||
-- create_table("tokens", {:force=>true}) | |||
-> 0.0995s | |||
-- create_table("trackers", {:force=>true}) | |||
-> 0.1088s | |||
-- create_table("users", {:force=>true}) | |||
-> 0.0939s | |||
-- create_table("versions", {:force=>true}) | |||
-> 0.0957s | |||
-- add_index("versions", ["project_id"], {:name=>"versions_project_id"}) | |||
-> 0.0839s | |||
-- create_table("workflows", {:force=>true}) | |||
-> 0.1092s | |||
== 1 Setup: migrated (4.0642s) ================================================ | |||
== 2 IssueMove: migrating ===================================================== | |||
== 2 IssueMove: migrated (0.0234s) ============================================ | |||
== 3 IssueAddNote: migrating ================================================== | |||
== 3 IssueAddNote: migrated (0.0175s) ========================================= | |||
== 4 ExportPdf: migrating ===================================================== | |||
== 4 ExportPdf: migrated (0.0374s) ============================================ | |||
== 5 IssueStartDate: migrating ================================================ | |||
-- add_column(:issues, :start_date, :date) | |||
-> 0.5902s | |||
-- add_column(:issues, :done_ratio, :integer, {:default=>0, :null=>false}) | |||
-> 0.1853s | |||
== 5 IssueStartDate: migrated (0.7757s) ======================================= | |||
== 6 CalendarAndActivity: migrating =========================================== | |||
== 6 CalendarAndActivity: migrated (0.0490s) ================================== | |||
== 7 CreateJournals: migrating ================================================ | |||
-- create_table(:journals, {:force=>true}) | |||
-> 0.0899s | |||
-- create_table(:journal_details, {:force=>true}) | |||
-> 0.0948s | |||
-- add_index("journals", ["journalized_id", "journalized_type"], {:name=>"journals_journalized_id"}) | |||
-> 0.0835s | |||
-- add_index("journal_details", ["journal_id"], {:name=>"journal_details_journal_id"}) | |||
-> 0.0778s | |||
-- drop_table(:issue_histories) | |||
-> 0.0461s | |||
== 7 CreateJournals: migrated (0.4122s) ======================================= | |||
== 8 CreateUserPreferences: migrating ========================================= | |||
-- create_table(:user_preferences) | |||
-> 0.1018s | |||
== 8 CreateUserPreferences: migrated (0.1020s) ================================ | |||
== 9 AddHideMailPref: migrating =============================================== | |||
-- add_column(:user_preferences, :hide_mail, :boolean, {:default=>false}) | |||
-> 0.1371s | |||
== 9 AddHideMailPref: migrated (0.1373s) ====================================== | |||
== 10 CreateComments: migrating =============================================== | |||
-- create_table(:comments) | |||
-> 0.0924s | |||
== 10 CreateComments: migrated (0.0926s) ====================================== | |||
== 11 AddNewsCommentsCount: migrating ========================================= | |||
-- add_column(:news, :comments_count, :integer, {:default=>0, :null=>false}) | |||
-> 0.1596s | |||
== 11 AddNewsCommentsCount: migrated (0.1598s) ================================ | |||
== 12 AddCommentsPermissions: migrating ======================================= | |||
== 12 AddCommentsPermissions: migrated (0.0356s) ============================== | |||
== 13 CreateQueries: migrating ================================================ | |||
-- create_table(:queries, {:force=>true}) | |||
-> 0.0757s | |||
== 13 CreateQueries: migrated (0.0758s) ======================================= | |||
== 14 AddQueriesPermissions: migrating ======================================== | |||
== 14 AddQueriesPermissions: migrated (0.0164s) =============================== | |||
== 15 CreateRepositories: migrating =========================================== | |||
-- create_table(:repositories, {:force=>true}) | |||
-> 0.0913s | |||
== 15 CreateRepositories: migrated (0.0915s) ================================== | |||
== 16 AddRepositoriesPermissions: migrating =================================== | |||
== 16 AddRepositoriesPermissions: migrated (0.0996s) ========================== | |||
== 17 CreateSettings: migrating =============================================== | |||
-- create_table(:settings, {:force=>true}) | |||
-> 0.0918s | |||
== 17 CreateSettings: migrated (0.0920s) ====================================== | |||
== 18 SetDocAndFilesNotifications: migrating ================================== | |||
== 18 SetDocAndFilesNotifications: migrated (0.0920s) ========================= | |||
== 19 AddIssueStatusPosition: migrating ======================================= | |||
-- add_column(:issue_statuses, :position, :integer, {:default=>1}) | |||
-> 0.3352s | |||
== 19 AddIssueStatusPosition: migrated (0.4037s) ============================== | |||
== 20 AddRolePosition: migrating ============================================== | |||
-- add_column(:roles, :position, :integer, {:default=>1}) | |||
-> 0.5882s | |||
== 20 AddRolePosition: migrated (0.6153s) ===================================== | |||
== 21 AddTrackerPosition: migrating =========================================== | |||
-- add_column(:trackers, :position, :integer, {:default=>1}) | |||
-> 0.3289s | |||
== 21 AddTrackerPosition: migrated (0.3818s) ================================== | |||
== 22 SerializePossiblesValues: migrating ===================================== | |||
== 22 SerializePossiblesValues: migrated (0.0036s) ============================ | |||
== 23 AddTrackerIsInRoadmap: migrating ======================================== | |||
-- add_column(:trackers, :is_in_roadmap, :boolean, {:default=>true, :null=>false}) | |||
-> 0.3352s | |||
== 23 AddTrackerIsInRoadmap: migrated (0.3355s) =============================== | |||
== 24 AddRoadmapPermission: migrating ========================================= | |||
== 24 AddRoadmapPermission: migrated (0.0222s) ================================ | |||
== 25 AddSearchPermission: migrating ========================================== | |||
== 25 AddSearchPermission: migrated (0.0312s) ================================= | |||
== 26 AddRepositoryLoginAndPassword: migrating ================================ | |||
-- add_column(:repositories, :login, :string, {:limit=>60, :default=>""}) | |||
-> 0.1026s | |||
-- add_column(:repositories, :password, :string, {:limit=>60, :default=>""}) | |||
-> 0.1097s | |||
== 26 AddRepositoryLoginAndPassword: migrated (0.2126s) ======================= | |||
== 27 CreateWikis: migrating ================================================== | |||
-- create_table(:wikis) | |||
-> 0.0676s | |||
-- add_index(:wikis, :project_id, {:name=>:wikis_project_id}) | |||
-> 0.0667s | |||
== 27 CreateWikis: migrated (0.1346s) ========================================= | |||
== 28 CreateWikiPages: migrating ============================================== | |||
-- create_table(:wiki_pages) | |||
-> 0.2110s | |||
-- add_index(:wiki_pages, [:wiki_id, :title], {:name=>:wiki_pages_wiki_id_title}) | |||
-> 0.4752s | |||
== 28 CreateWikiPages: migrated (0.6866s) ===================================== | |||
== 29 CreateWikiContents: migrating =========================================== | |||
-- create_table(:wiki_contents) | |||
-> 0.1795s | |||
-- add_index(:wiki_contents, :page_id, {:name=>:wiki_contents_page_id}) | |||
-> 0.1436s | |||
-- create_table(:wiki_content_versions) | |||
-> 0.1176s | |||
-- add_index(:wiki_content_versions, :wiki_content_id, {:name=>:wiki_content_versions_wcid}) | |||
-> 0.0820s | |||
== 29 CreateWikiContents: migrated (0.5232s) ================================== | |||
== 30 AddProjectsFeedsPermissions: migrating ================================== | |||
== 30 AddProjectsFeedsPermissions: migrated (0.0236s) ========================= | |||
== 31 AddRepositoryRootUrl: migrating ========================================= | |||
-- add_column(:repositories, :root_url, :string, {:limit=>255, :default=>""}) | |||
-> 0.1529s | |||
== 31 AddRepositoryRootUrl: migrated (0.1530s) ================================ | |||
== 32 CreateTimeEntries: migrating ============================================ | |||
-- create_table(:time_entries) | |||
-> 0.0934s | |||
-- add_index(:time_entries, [:project_id], {:name=>:time_entries_project_id}) | |||
-> 0.0807s | |||
-- add_index(:time_entries, [:issue_id], {:name=>:time_entries_issue_id}) | |||
-> 0.0895s | |||
== 32 CreateTimeEntries: migrated (0.2639s) =================================== | |||
== 33 AddTimelogPermissions: migrating ======================================== | |||
== 33 AddTimelogPermissions: migrated (0.0198s) =============================== | |||
== 34 CreateChangesets: migrating ============================================= | |||
-- create_table(:changesets) | |||
-> 0.0969s | |||
-- add_index(:changesets, [:repository_id, :revision], {:unique=>true, :name=>:changesets_repos_rev}) | |||
-> 0.0809s | |||
== 34 CreateChangesets: migrated (0.1780s) ==================================== | |||
== 35 CreateChanges: migrating ================================================ | |||
-- create_table(:changes) | |||
-> 0.0923s | |||
-- add_index(:changes, [:changeset_id], {:name=>:changesets_changeset_id}) | |||
-> 0.0814s | |||
== 35 CreateChanges: migrated (0.1741s) ======================================= | |||
== 36 AddChangesetCommitDate: migrating ======================================= | |||
-- add_column(:changesets, :commit_date, :date) | |||
-> 0.1701s | |||
== 36 AddChangesetCommitDate: migrated (0.2207s) ============================== | |||
== 37 AddProjectIdentifier: migrating ========================================= | |||
-- add_column(:projects, :identifier, :string, {:limit=>20}) | |||
-> 0.1394s | |||
== 37 AddProjectIdentifier: migrated (0.1396s) ================================ | |||
== 38 AddCustomFieldIsFilter: migrating ======================================= | |||
-- add_column(:custom_fields, :is_filter, :boolean, {:null=>false, :default=>false}) | |||
-> 0.1526s | |||
== 38 AddCustomFieldIsFilter: migrated (0.1527s) ============================== | |||
== 39 CreateWatchers: migrating =============================================== | |||
-- create_table(:watchers) | |||
-> 0.0899s | |||
== 39 CreateWatchers: migrated (0.0900s) ====================================== | |||
== 40 CreateChangesetsIssues: migrating ======================================= | |||
-- create_table(:changesets_issues, {:id=>false}) | |||
-> 0.1342s | |||
-- add_index(:changesets_issues, [:changeset_id, :issue_id], {:unique=>true, :name=>:changesets_issues_ids}) | |||
-> 0.1680s | |||
== 40 CreateChangesetsIssues: migrated (0.3025s) ============================== | |||
== 41 RenameCommentToComments: migrating ====================================== | |||
== 41 RenameCommentToComments: migrated (0.1990s) ============================= | |||
== 42 CreateIssueRelations: migrating ========================================= | |||
-- create_table(:issue_relations) | |||
-> 0.1036s | |||
== 42 CreateIssueRelations: migrated (0.1037s) ================================ | |||
== 43 AddRelationsPermissions: migrating ====================================== | |||
== 43 AddRelationsPermissions: migrated (0.0391s) ============================= | |||
== 44 SetLanguageLengthToFive: migrating ====================================== | |||
-- change_column(:users, :language, :string, {:limit=>5, :default=>""}) | |||
-> 0.2359s | |||
== 44 SetLanguageLengthToFive: migrated (0.2361s) ============================= | |||
== 45 CreateBoards: migrating ================================================= | |||
-- create_table(:boards) | |||
-> 0.0963s | |||
-- add_index(:boards, [:project_id], {:name=>:boards_project_id}) | |||
-> 0.0790s | |||
== 45 CreateBoards: migrated (0.1755s) ======================================== | |||
== 46 CreateMessages: migrating =============================================== | |||
-- create_table(:messages) | |||
-> 0.0958s | |||
-- add_index(:messages, [:board_id], {:name=>:messages_board_id}) | |||
-> 0.0993s | |||
-- add_index(:messages, [:parent_id], {:name=>:messages_parent_id}) | |||
-> 0.0763s | |||
== 46 CreateMessages: migrated (0.2719s) ====================================== | |||
== 47 AddBoardsPermissions: migrating ========================================= | |||
== 47 AddBoardsPermissions: migrated (0.0493s) ================================ | |||
== 48 AllowNullVersionEffectiveDate: migrating ================================ | |||
-- change_column(:versions, :effective_date, :date, {:default=>nil, :null=>true}) | |||
-> 0.0167s | |||
== 48 AllowNullVersionEffectiveDate: migrated (0.0169s) ======================= | |||
== 49 AddWikiDestroyPagePermission: migrating ================================= | |||
== 49 AddWikiDestroyPagePermission: migrated (0.0211s) ======================== | |||
== 50 AddWikiAttachmentsPermissions: migrating ================================ | |||
== 50 AddWikiAttachmentsPermissions: migrated (0.0352s) ======================= | |||
== 51 AddProjectStatus: migrating ============================================= | |||
-- add_column(:projects, :status, :integer, {:default=>1, :null=>false}) | |||
-> 0.1500s | |||
== 51 AddProjectStatus: migrated (0.1501s) ==================================== | |||
== 52 AddChangesRevision: migrating =========================================== | |||
-- add_column(:changes, :revision, :string) | |||
-> 0.1947s | |||
== 52 AddChangesRevision: migrated (0.1948s) ================================== | |||
== 53 AddChangesBranch: migrating ============================================= | |||
-- add_column(:changes, :branch, :string) | |||
-> 0.2878s | |||
== 53 AddChangesBranch: migrated (0.2879s) ==================================== | |||
== 54 AddChangesetsScmid: migrating =========================================== | |||
-- add_column(:changesets, :scmid, :string) | |||
-> 0.3395s | |||
== 54 AddChangesetsScmid: migrated (0.3397s) ================================== | |||
== 55 AddRepositoriesType: migrating ========================================== | |||
-- add_column(:repositories, :type, :string) | |||
-> 0.1378s | |||
== 55 AddRepositoriesType: migrated (0.1387s) ================================= | |||
== 56 AddRepositoriesChangesPermission: migrating ============================= | |||
== 56 AddRepositoriesChangesPermission: migrated (0.0220s) ==================== | |||
== 57 AddVersionsWikiPageTitle: migrating ===================================== | |||
-- add_column(:versions, :wiki_page_title, :string) | |||
-> 0.1598s | |||
== 57 AddVersionsWikiPageTitle: migrated (0.1599s) ============================ | |||
== 58 AddIssueCategoriesAssignedToId: migrating =============================== | |||
-- add_column(:issue_categories, :assigned_to_id, :integer) | |||
-> 0.1866s | |||
== 58 AddIssueCategoriesAssignedToId: migrated (0.1867s) ====================== | |||
== 59 AddRolesAssignable: migrating =========================================== | |||
-- add_column(:roles, :assignable, :boolean, {:default=>true}) | |||
-> 0.4463s | |||
== 59 AddRolesAssignable: migrated (0.4465s) ================================== | |||
== 60 ChangeChangesetsCommitterLimit: migrating =============================== | |||
-- change_column(:changesets, :committer, :string, {:limit=>nil}) | |||
-> 0.2349s | |||
== 60 ChangeChangesetsCommitterLimit: migrated (0.2350s) ====================== | |||
== 61 AddRolesBuiltin: migrating ============================================== | |||
-- add_column(:roles, :builtin, :integer, {:default=>0, :null=>false}) | |||
-> 0.1576s | |||
== 61 AddRolesBuiltin: migrated (0.1577s) ===================================== | |||
== 62 InsertBuiltinRoles: migrating =========================================== | |||
== 62 InsertBuiltinRoles: migrated (0.1779s) ================================== | |||
== 63 AddRolesPermissions: migrating ========================================== | |||
-- add_column(:roles, :permissions, :text) | |||
-> 0.1525s | |||
== 63 AddRolesPermissions: migrated (0.1526s) ================================= | |||
== 64 DropPermissions: migrating ============================================== | |||
-- drop_table(:permissions) | |||
-> 0.0490s | |||
-- drop_table(:permissions_roles) | |||
-> 0.0435s | |||
== 64 DropPermissions: migrated (0.0926s) ===================================== | |||
== 65 AddSettingsUpdatedOn: migrating ========================================= | |||
-- add_column(:settings, :updated_on, :timestamp) | |||
-> 0.1523s | |||
== 65 AddSettingsUpdatedOn: migrated (0.1800s) ================================ | |||
== 66 AddCustomValueCustomizedIndex: migrating ================================ | |||
-- add_index(:custom_values, [:customized_type, :customized_id], {:name=>:custom_values_customized}) | |||
-> 0.0864s | |||
== 66 AddCustomValueCustomizedIndex: migrated (0.0865s) ======================= | |||
== 67 CreateWikiRedirects: migrating ========================================== | |||
-- create_table(:wiki_redirects) | |||
-> 0.0982s | |||
-- add_index(:wiki_redirects, [:wiki_id, :title], {:name=>:wiki_redirects_wiki_id_title}) | |||
-> 0.1040s | |||
== 67 CreateWikiRedirects: migrated (0.2025s) ================================= | |||
== 68 CreateEnabledModules: migrating ========================================= | |||
-- create_table(:enabled_modules) | |||
-> 0.0986s | |||
-- add_index(:enabled_modules, [:project_id], {:name=>:enabled_modules_project_id}) | |||
-> 0.0850s | |||
== 68 CreateEnabledModules: migrated (0.1872s) ================================ | |||
== 69 AddIssuesEstimatedHours: migrating ====================================== | |||
-- add_column(:issues, :estimated_hours, :float) | |||
-> 0.1949s | |||
== 69 AddIssuesEstimatedHours: migrated (0.1950s) ============================= | |||
== 70 ChangeAttachmentsContentTypeLimit: migrating ============================ | |||
-- change_column(:attachments, :content_type, :string, {:limit=>nil}) | |||
-> 0.2173s | |||
== 70 ChangeAttachmentsContentTypeLimit: migrated (0.2175s) =================== | |||
== 71 AddQueriesColumnNames: migrating ======================================== | |||
-- add_column(:queries, :column_names, :text) | |||
-> 0.1469s | |||
== 71 AddQueriesColumnNames: migrated (0.1470s) =============================== | |||
== 72 AddEnumerationsPosition: migrating ====================================== | |||
-- add_column(:enumerations, :position, :integer, {:default=>1}) | |||
-> 0.1451s | |||
== 72 AddEnumerationsPosition: migrated (0.1792s) ============================= | |||
== 73 AddEnumerationsIsDefault: migrating ===================================== | |||
-- add_column(:enumerations, :is_default, :boolean, {:default=>false, :null=>false}) | |||
-> 0.1361s | |||
== 73 AddEnumerationsIsDefault: migrated (0.1362s) ============================ | |||
== 74 AddAuthSourcesTls: migrating ============================================ | |||
-- add_column(:auth_sources, :tls, :boolean, {:default=>false, :null=>false}) | |||
-> 0.1560s | |||
== 74 AddAuthSourcesTls: migrated (0.1562s) =================================== | |||
== 75 AddMembersMailNotification: migrating =================================== | |||
-- add_column(:members, :mail_notification, :boolean, {:default=>false, :null=>false}) | |||
-> 0.1443s | |||
== 75 AddMembersMailNotification: migrated (0.1444s) ========================== | |||
== 76 AllowNullPosition: migrating ============================================ | |||
-- change_column(:issue_statuses, :position, :integer, {:default=>1, :null=>true}) | |||
-> 0.0160s | |||
-- change_column(:roles, :position, :integer, {:default=>1, :null=>true}) | |||
-> 0.0127s | |||
-- change_column(:trackers, :position, :integer, {:default=>1, :null=>true}) | |||
-> 0.0163s | |||
-- change_column(:boards, :position, :integer, {:default=>1, :null=>true}) | |||
-> 0.0169s | |||
-- change_column(:enumerations, :position, :integer, {:default=>1, :null=>true}) | |||
-> 0.0168s | |||
== 76 AllowNullPosition: migrated (0.0798s) =================================== | |||
== 77 RemoveIssueStatusesHtmlColor: migrating ================================= | |||
-- remove_column(:issue_statuses, :html_color) | |||
-> 0.1313s | |||
== 77 RemoveIssueStatusesHtmlColor: migrated (0.1315s) ======================== | |||
== 78 AddCustomFieldsPosition: migrating ====================================== | |||
-- add_column(:custom_fields, :position, :integer, {:default=>1}) | |||
-> 0.2169s | |||
== 78 AddCustomFieldsPosition: migrated (0.2180s) ============================= | |||
== 79 AddUserPreferencesTimeZone: migrating =================================== | |||
-- add_column(:user_preferences, :time_zone, :string) | |||
-> 0.5248s | |||
== 79 AddUserPreferencesTimeZone: migrated (0.5249s) ========================== | |||
== 80 AddUsersType: migrating ================================================= | |||
-- add_column(:users, :type, :string) | |||
-> 0.1529s | |||
== 80 AddUsersType: migrated (0.2385s) ======================================== | |||
== 81 CreateProjectsTrackers: migrating ======================================= | |||
-- create_table(:projects_trackers, {:id=>false}) | |||
-> 0.0896s | |||
-- add_index(:projects_trackers, :project_id, {:name=>:projects_trackers_project_id}) | |||
-> 0.0794s | |||
== 81 CreateProjectsTrackers: migrated (0.1710s) ============================== | |||
== 82 AddMessagesLocked: migrating ============================================ | |||
-- add_column(:messages, :locked, :boolean, {:default=>false}) | |||
-> 0.1758s | |||
== 82 AddMessagesLocked: migrated (0.1759s) =================================== | |||
== 83 AddMessagesSticky: migrating ============================================ | |||
-- add_column(:messages, :sticky, :integer, {:default=>0}) | |||
-> 0.1616s | |||
== 83 AddMessagesSticky: migrated (0.1618s) =================================== | |||
== 84 ChangeAuthSourcesAccountLimit: migrating ================================ | |||
-- change_column(:auth_sources, :account, :string, {:limit=>nil}) | |||
-> 0.2280s | |||
== 84 ChangeAuthSourcesAccountLimit: migrated (0.2282s) ======================= | |||
== 85 AddRoleTrackerOldStatusIndexToWorkflows: migrating ====================== | |||
-- add_index(:workflows, [:role_id, :tracker_id, :old_status_id], {:name=>:wkfs_role_tracker_old_status}) | |||
-> 0.0785s | |||
== 85 AddRoleTrackerOldStatusIndexToWorkflows: migrated (0.0787s) ============= | |||
== 86 AddCustomFieldsSearchable: migrating ==================================== | |||
-- add_column(:custom_fields, :searchable, :boolean, {:default=>false}) | |||
-> 0.1607s | |||
== 86 AddCustomFieldsSearchable: migrated (0.1608s) =========================== | |||
== 87 ChangeProjectsDescriptionToText: migrating ============================== | |||
-- change_column(:projects, :description, :text, {:null=>true, :default=>nil}) | |||
-> 0.2359s | |||
== 87 ChangeProjectsDescriptionToText: migrated (0.2360s) ===================== | |||
== 88 AddCustomFieldsDefaultValue: migrating ================================== | |||
-- add_column(:custom_fields, :default_value, :text) | |||
-> 0.1451s | |||
== 88 AddCustomFieldsDefaultValue: migrated (0.1453s) ========================= | |||
== 89 AddAttachmentsDescription: migrating ==================================== | |||
-- add_column(:attachments, :description, :string) | |||
-> 0.1761s | |||
== 89 AddAttachmentsDescription: migrated (0.1763s) =========================== | |||
== 90 ChangeVersionsNameLimit: migrating ====================================== | |||
-- change_column(:versions, :name, :string, {:limit=>nil}) | |||
-> 0.2130s | |||
== 90 ChangeVersionsNameLimit: migrated (0.2132s) ============================= | |||
== 91 ChangeChangesetsRevisionToString: migrating ============================= | |||
-- index_exists?(:changesets, [:repository_id, :revision], {:name=>:changesets_repos_rev}) | |||
-> 0.0010s | |||
-- remove_index(:changesets, {:name=>:changesets_repos_rev}) | |||
-> 0.0559s | |||
-- index_exists?(:changesets, [:repository_id, :revision], {:name=>:altered_changesets_repos_rev}) | |||
-> 0.0004s | |||
-- change_column(:changesets, :revision, :string, {:null=>false}) | |||
-> 0.1963s | |||
-- add_index(:changesets, [:repository_id, :revision], {:unique=>true, :name=>:changesets_repos_rev}) | |||
-> 0.0773s | |||
== 91 ChangeChangesetsRevisionToString: migrated (0.3315s) ==================== | |||
== 92 ChangeChangesFromRevisionToString: migrating ============================ | |||
-- change_column(:changes, :from_revision, :string) | |||
-> 0.2200s | |||
== 92 ChangeChangesFromRevisionToString: migrated (0.2202s) =================== | |||
== 93 AddWikiPagesProtected: migrating ======================================== | |||
-- add_column(:wiki_pages, :protected, :boolean, {:default=>false, :null=>false}) | |||
-> 0.1685s | |||
== 93 AddWikiPagesProtected: migrated (0.1686s) =============================== | |||
== 94 ChangeProjectsHomepageLimit: migrating ================================== | |||
-- change_column(:projects, :homepage, :string, {:limit=>nil, :default=>""}) | |||
-> 0.2054s | |||
== 94 ChangeProjectsHomepageLimit: migrated (0.2055s) ========================= | |||
== 95 AddWikiPagesParentId: migrating ========================================= | |||
-- add_column(:wiki_pages, :parent_id, :integer, {:default=>nil}) | |||
-> 0.1527s | |||
== 95 AddWikiPagesParentId: migrated (0.1528s) ================================ | |||
== 96 AddCommitAccessPermission: migrating ==================================== | |||
== 96 AddCommitAccessPermission: migrated (0.0012s) =========================== | |||
== 97 AddViewWikiEditsPermission: migrating =================================== | |||
== 97 AddViewWikiEditsPermission: migrated (0.0011s) ========================== | |||
== 98 SetTopicAuthorsAsWatchers: migrating ==================================== | |||
== 98 SetTopicAuthorsAsWatchers: migrated (0.0594s) =========================== | |||
== 99 AddDeleteWikiPagesAttachmentsPermission: migrating ====================== | |||
== 99 AddDeleteWikiPagesAttachmentsPermission: migrated (0.0009s) ============= | |||
== 100 AddChangesetsUserId: migrating ========================================= | |||
-- add_column(:changesets, :user_id, :integer, {:default=>nil}) | |||
-> 0.1599s | |||
== 100 AddChangesetsUserId: migrated (0.1600s) ================================ | |||
== 101 PopulateChangesetsUserId: migrating ==================================== | |||
== 101 PopulateChangesetsUserId: migrated (0.0004s) =========================== | |||
== 102 AddCustomFieldsEditable: migrating ===================================== | |||
-- add_column(:custom_fields, :editable, :boolean, {:default=>true}) | |||
-> 0.1439s | |||
== 102 AddCustomFieldsEditable: migrated (0.1441s) ============================ | |||
== 103 SetCustomFieldsEditable: migrating ===================================== | |||
== 103 SetCustomFieldsEditable: migrated (0.0045s) ============================ | |||
== 104 AddProjectsLftAndRgt: migrating ======================================== | |||
-- add_column(:projects, :lft, :integer) | |||
-> 0.1529s | |||
-- add_column(:projects, :rgt, :integer) | |||
-> 0.2531s | |||
== 104 AddProjectsLftAndRgt: migrated (0.4062s) =============================== | |||
== 105 BuildProjectsTree: migrating =========================================== | |||
== 105 BuildProjectsTree: migrated (0.0038s) ================================== | |||
== 106 RemoveProjectsProjectsCount: migrating ================================= | |||
-- remove_column(:projects, :projects_count) | |||
-> 0.4674s | |||
== 106 RemoveProjectsProjectsCount: migrated (0.4675s) ======================== | |||
== 107 AddOpenIdAuthenticationTables: migrating =============================== | |||
-- create_table(:open_id_authentication_associations, {:force=>true}) | |||
-> 0.1748s | |||
-- create_table(:open_id_authentication_nonces, {:force=>true}) | |||
-> 0.1011s | |||
== 107 AddOpenIdAuthenticationTables: migrated (0.2761s) ====================== | |||
== 108 AddIdentityUrlToUsers: migrating ======================================= | |||
-- add_column(:users, :identity_url, :string) | |||
-> 0.1524s | |||
== 108 AddIdentityUrlToUsers: migrated (0.1525s) ============================== | |||
== 20090214190337 AddWatchersUserIdTypeIndex: migrating ======================= | |||
-- add_index(:watchers, [:user_id, :watchable_type], {:name=>:watchers_user_id_type}) | |||
-> 0.0798s | |||
== 20090214190337 AddWatchersUserIdTypeIndex: migrated (0.0799s) ============== | |||
== 20090312172426 AddQueriesSortCriteria: migrating =========================== | |||
-- add_column(:queries, :sort_criteria, :text) | |||
-> 0.1515s | |||
== 20090312172426 AddQueriesSortCriteria: migrated (0.1516s) ================== | |||
== 20090312194159 AddProjectsTrackersUniqueIndex: migrating =================== | |||
-- add_index(:projects_trackers, [:project_id, :tracker_id], {:name=>:projects_trackers_unique, :unique=>true}) | |||
-> 0.1865s | |||
== 20090312194159 AddProjectsTrackersUniqueIndex: migrated (0.1873s) ========== | |||
== 20090318181151 ExtendSettingsName: migrating =============================== | |||
-- change_column(:settings, :name, :string, {:limit=>255, :default=>"", :null=>false}) | |||
-> 0.3681s | |||
== 20090318181151 ExtendSettingsName: migrated (0.3682s) ====================== | |||
== 20090323224724 AddTypeToEnumerations: migrating ============================ | |||
-- add_column(:enumerations, :type, :string) | |||
-> 0.1531s | |||
== 20090323224724 AddTypeToEnumerations: migrated (0.1532s) =================== | |||
== 20090401221305 UpdateEnumerationsToSti: migrating ========================== | |||
== 20090401221305 UpdateEnumerationsToSti: migrated (0.0026s) ================= | |||
== 20090401231134 AddActiveFieldToEnumerations: migrating ===================== | |||
-- add_column(:enumerations, :active, :boolean, {:default=>true, :null=>false}) | |||
-> 0.2262s | |||
== 20090401231134 AddActiveFieldToEnumerations: migrated (0.2263s) ============ | |||
== 20090403001910 AddProjectToEnumerations: migrating ========================= | |||
-- add_column(:enumerations, :project_id, :integer, {:null=>true, :default=>nil}) | |||
-> 0.2035s | |||
-- add_index(:enumerations, :project_id) | |||
-> 0.0863s | |||
== 20090403001910 AddProjectToEnumerations: migrated (0.2901s) ================ | |||
== 20090406161854 AddParentIdToEnumerations: migrating ======================== | |||
-- add_column(:enumerations, :parent_id, :integer, {:null=>true, :default=>nil}) | |||
-> 0.1617s | |||
== 20090406161854 AddParentIdToEnumerations: migrated (0.1619s) =============== | |||
== 20090425161243 AddQueriesGroupBy: migrating ================================ | |||
-- add_column(:queries, :group_by, :string) | |||
-> 0.1568s | |||
== 20090425161243 AddQueriesGroupBy: migrated (0.1569s) ======================= | |||
== 20090503121501 CreateMemberRoles: migrating ================================ | |||
-- create_table(:member_roles) | |||
-> 0.0921s | |||
== 20090503121501 CreateMemberRoles: migrated (0.0923s) ======================= | |||
== 20090503121505 PopulateMemberRoles: migrating ============================== | |||
== 20090503121505 PopulateMemberRoles: migrated (0.0214s) ===================== | |||
== 20090503121510 DropMembersRoleId: migrating ================================ | |||
-- remove_column(:members, :role_id) | |||
-> 0.1483s | |||
== 20090503121510 DropMembersRoleId: migrated (0.1484s) ======================= | |||
== 20090614091200 FixMessagesStickyNull: migrating ============================ | |||
== 20090614091200 FixMessagesStickyNull: migrated (0.0011s) =================== | |||
== 20090704172350 PopulateUsersType: migrating ================================ | |||
== 20090704172350 PopulateUsersType: migrated (0.0012s) ======================= | |||
== 20090704172355 CreateGroupsUsers: migrating ================================ | |||
-- create_table(:groups_users, {:id=>false}) | |||
-> 0.1234s | |||
-- add_index(:groups_users, [:group_id, :user_id], {:unique=>true, :name=>:groups_users_ids}) | |||
-> 0.1870s | |||
== 20090704172355 CreateGroupsUsers: migrated (0.3107s) ======================= | |||
== 20090704172358 AddMemberRolesInheritedFrom: migrating ====================== | |||
-- add_column(:member_roles, :inherited_from, :integer) | |||
-> 0.1614s | |||
== 20090704172358 AddMemberRolesInheritedFrom: migrated (0.1615s) ============= | |||
== 20091010093521 FixUsersCustomValues: migrating ============================= | |||
== 20091010093521 FixUsersCustomValues: migrated (0.0062s) ==================== | |||
== 20091017212227 AddMissingIndexesToWorkflows: migrating ===================== | |||
-- add_index(:workflows, :old_status_id) | |||
-> 0.0794s | |||
-- add_index(:workflows, :role_id) | |||
-> 0.0809s | |||
-- add_index(:workflows, :new_status_id) | |||
-> 0.0799s | |||
== 20091017212227 AddMissingIndexesToWorkflows: migrated (0.2406s) ============ | |||
== 20091017212457 AddMissingIndexesToCustomFieldsProjects: migrating ========== | |||
-- add_index(:custom_fields_projects, [:custom_field_id, :project_id]) | |||
-> 0.0930s | |||
== 20091017212457 AddMissingIndexesToCustomFieldsProjects: migrated (0.0931s) = | |||
== 20091017212644 AddMissingIndexesToMessages: migrating ====================== | |||
-- add_index(:messages, :last_reply_id) | |||
-> 0.0878s | |||
-- add_index(:messages, :author_id) | |||
-> 0.0819s | |||
== 20091017212644 AddMissingIndexesToMessages: migrated (0.1699s) ============= | |||
== 20091017212938 AddMissingIndexesToRepositories: migrating ================== | |||
-- add_index(:repositories, :project_id) | |||
-> 0.0847s | |||
== 20091017212938 AddMissingIndexesToRepositories: migrated (0.0848s) ========= | |||
== 20091017213027 AddMissingIndexesToComments: migrating ====================== | |||
-- add_index(:comments, [:commented_id, :commented_type]) | |||
-> 0.0847s | |||
-- add_index(:comments, :author_id) | |||
-> 0.0795s | |||
== 20091017213027 AddMissingIndexesToComments: migrated (0.1644s) ============= | |||
== 20091017213113 AddMissingIndexesToEnumerations: migrating ================== | |||
-- add_index(:enumerations, [:id, :type]) | |||
-> 0.0814s | |||
== 20091017213113 AddMissingIndexesToEnumerations: migrated (0.0815s) ========= | |||
== 20091017213151 AddMissingIndexesToWikiPages: migrating ===================== | |||
-- add_index(:wiki_pages, :wiki_id) | |||
-> 0.0935s | |||
-- add_index(:wiki_pages, :parent_id) | |||
-> 0.0802s | |||
== 20091017213151 AddMissingIndexesToWikiPages: migrated (0.1739s) ============ | |||
== 20091017213228 AddMissingIndexesToWatchers: migrating ====================== | |||
-- add_index(:watchers, :user_id) | |||
-> 0.0887s | |||
-- add_index(:watchers, [:watchable_id, :watchable_type]) | |||
-> 0.3340s | |||
== 20091017213228 AddMissingIndexesToWatchers: migrated (0.4229s) ============= | |||
== 20091017213257 AddMissingIndexesToAuthSources: migrating =================== | |||
-- add_index(:auth_sources, [:id, :type]) | |||
-> 0.2686s | |||
== 20091017213257 AddMissingIndexesToAuthSources: migrated (0.2688s) ========== | |||
== 20091017213332 AddMissingIndexesToDocuments: migrating ===================== | |||
-- add_index(:documents, :category_id) | |||
-> 0.0798s | |||
== 20091017213332 AddMissingIndexesToDocuments: migrated (0.0799s) ============ | |||
== 20091017213444 AddMissingIndexesToTokens: migrating ======================== | |||
-- add_index(:tokens, :user_id) | |||
-> 0.0827s | |||
== 20091017213444 AddMissingIndexesToTokens: migrated (0.0828s) =============== | |||
== 20091017213536 AddMissingIndexesToChangesets: migrating ==================== | |||
-- add_index(:changesets, :user_id) | |||
-> 0.0698s | |||
-- add_index(:changesets, :repository_id) | |||
-> 0.1143s | |||
== 20091017213536 AddMissingIndexesToChangesets: migrated (0.1844s) =========== | |||
== 20091017213642 AddMissingIndexesToIssueCategories: migrating =============== | |||
-- add_index(:issue_categories, :assigned_to_id) | |||
-> 0.0846s | |||
== 20091017213642 AddMissingIndexesToIssueCategories: migrated (0.0847s) ====== | |||
== 20091017213716 AddMissingIndexesToMemberRoles: migrating =================== | |||
-- add_index(:member_roles, :member_id) | |||
-> 0.0832s | |||
-- add_index(:member_roles, :role_id) | |||
-> 0.0846s | |||
== 20091017213716 AddMissingIndexesToMemberRoles: migrated (0.1681s) ========== | |||
== 20091017213757 AddMissingIndexesToBoards: migrating ======================== | |||
-- add_index(:boards, :last_message_id) | |||
-> 0.0765s | |||
== 20091017213757 AddMissingIndexesToBoards: migrated (0.0766s) =============== | |||
== 20091017213835 AddMissingIndexesToUserPreferences: migrating =============== | |||
-- add_index(:user_preferences, :user_id) | |||
-> 0.1077s | |||
== 20091017213835 AddMissingIndexesToUserPreferences: migrated (0.1079s) ====== | |||
== 20091017213910 AddMissingIndexesToIssues: migrating ======================== | |||
-- add_index(:issues, :status_id) | |||
-> 0.1436s | |||
-- add_index(:issues, :category_id) | |||
-> 0.1436s | |||
-- add_index(:issues, :assigned_to_id) | |||
-> 0.1775s | |||
-- add_index(:issues, :fixed_version_id) | |||
-> 0.1435s | |||
-- add_index(:issues, :tracker_id) | |||
-> 0.1314s | |||
-- add_index(:issues, :priority_id) | |||
-> 0.1292s | |||
-- add_index(:issues, :author_id) | |||
-> 0.1932s | |||
== 20091017213910 AddMissingIndexesToIssues: migrated (1.0630s) =============== | |||
== 20091017214015 AddMissingIndexesToMembers: migrating ======================= | |||
-- add_index(:members, :user_id) | |||
-> 0.2511s | |||
-- add_index(:members, :project_id) | |||
-> 0.2090s | |||
== 20091017214015 AddMissingIndexesToMembers: migrated (0.4603s) ============== | |||
== 20091017214107 AddMissingIndexesToCustomFields: migrating ================== | |||
-- add_index(:custom_fields, [:id, :type]) | |||
-> 0.0703s | |||
== 20091017214107 AddMissingIndexesToCustomFields: migrated (0.0704s) ========= | |||
== 20091017214136 AddMissingIndexesToQueries: migrating ======================= | |||
-- add_index(:queries, :project_id) | |||
-> 0.0787s | |||
-- add_index(:queries, :user_id) | |||
-> 0.0678s | |||
== 20091017214136 AddMissingIndexesToQueries: migrated (0.1467s) ============== | |||
== 20091017214236 AddMissingIndexesToTimeEntries: migrating =================== | |||
-- add_index(:time_entries, :activity_id) | |||
-> 0.0762s | |||
-- add_index(:time_entries, :user_id) | |||
-> 0.0786s | |||
== 20091017214236 AddMissingIndexesToTimeEntries: migrated (0.1550s) ========== | |||
== 20091017214308 AddMissingIndexesToNews: migrating ========================== | |||
-- add_index(:news, :author_id) | |||
-> 0.0685s | |||
== 20091017214308 AddMissingIndexesToNews: migrated (0.0687s) ================= | |||
== 20091017214336 AddMissingIndexesToUsers: migrating ========================= | |||
-- add_index(:users, [:id, :type]) | |||
-> 0.1092s | |||
-- add_index(:users, :auth_source_id) | |||
-> 0.1444s | |||
== 20091017214336 AddMissingIndexesToUsers: migrated (0.2539s) ================ | |||
== 20091017214406 AddMissingIndexesToAttachments: migrating =================== | |||
-- add_index(:attachments, [:container_id, :container_type]) | |||
-> 0.0761s | |||
-- add_index(:attachments, :author_id) | |||
-> 0.0993s | |||
== 20091017214406 AddMissingIndexesToAttachments: migrated (0.1756s) ========== | |||
== 20091017214440 AddMissingIndexesToWikiContents: migrating ================== | |||
-- add_index(:wiki_contents, :author_id) | |||
-> 0.0593s | |||
== 20091017214440 AddMissingIndexesToWikiContents: migrated (0.0594s) ========= | |||
== 20091017214519 AddMissingIndexesToCustomValues: migrating ================== | |||
-- add_index(:custom_values, :custom_field_id) | |||
-> 0.0596s | |||
== 20091017214519 AddMissingIndexesToCustomValues: migrated (0.0597s) ========= | |||
== 20091017214611 AddMissingIndexesToJournals: migrating ====================== | |||
-- add_index(:journals, :user_id) | |||
-> 0.0783s | |||
-- add_index(:journals, :journalized_id) | |||
-> 0.0742s | |||
== 20091017214611 AddMissingIndexesToJournals: migrated (0.1527s) ============= | |||
== 20091017214644 AddMissingIndexesToIssueRelations: migrating ================ | |||
-- add_index(:issue_relations, :issue_from_id) | |||
-> 0.0837s | |||
-- add_index(:issue_relations, :issue_to_id) | |||
-> 0.0686s | |||
== 20091017214644 AddMissingIndexesToIssueRelations: migrated (0.1526s) ======= | |||
== 20091017214720 AddMissingIndexesToWikiRedirects: migrating ================= | |||
-- add_index(:wiki_redirects, :wiki_id) | |||
-> 0.0750s | |||
== 20091017214720 AddMissingIndexesToWikiRedirects: migrated (0.0751s) ======== | |||
== 20091017214750 AddMissingIndexesToCustomFieldsTrackers: migrating ========== | |||
-- add_index(:custom_fields_trackers, [:custom_field_id, :tracker_id]) | |||
-> 0.0780s | |||
== 20091017214750 AddMissingIndexesToCustomFieldsTrackers: migrated (0.0782s) = | |||
== 20091025163651 AddActivityIndexes: migrating =============================== | |||
-- add_index(:journals, :created_on) | |||
-> 0.1216s | |||
-- add_index(:changesets, :committed_on) | |||
-> 0.3178s | |||
-- add_index(:wiki_content_versions, :updated_on) | |||
-> 0.2178s | |||
-- add_index(:messages, :created_on) | |||
-> 0.1334s | |||
-- add_index(:issues, :created_on) | |||
-> 0.1280s | |||
-- add_index(:news, :created_on) | |||
-> 0.1272s | |||
-- add_index(:attachments, :created_on) | |||
-> 0.0847s | |||
-- add_index(:documents, :created_on) | |||
-> 0.1012s | |||
-- add_index(:time_entries, :created_on) | |||
-> 0.1020s | |||
== 20091025163651 AddActivityIndexes: migrated (1.3347s) ====================== | |||
== 20091108092559 AddVersionsStatus: migrating ================================ | |||
-- add_column(:versions, :status, :string, {:default=>"open"}) | |||
-> 0.1859s | |||
== 20091108092559 AddVersionsStatus: migrated (0.2118s) ======================= | |||
== 20091114105931 AddViewIssuesPermission: migrating ========================== | |||
== 20091114105931 AddViewIssuesPermission: migrated (0.0398s) ================= | |||
== 20091123212029 AddDefaultDoneRatioToIssueStatus: migrating ================= | |||
-- add_column(:issue_statuses, :default_done_ratio, :integer) | |||
-> 0.5300s | |||
== 20091123212029 AddDefaultDoneRatioToIssueStatus: migrated (0.5302s) ======== | |||
== 20091205124427 AddVersionsSharing: migrating =============================== | |||
-- add_column(:versions, :sharing, :string, {:default=>"none", :null=>false}) | |||
-> 0.4205s | |||
-- add_index(:versions, :sharing) | |||
-> 0.2931s | |||
== 20091205124427 AddVersionsSharing: migrated (0.7139s) ====================== | |||
== 20091220183509 AddLftAndRgtIndexesToProjects: migrating ==================== | |||
-- add_index(:projects, :lft) | |||
-> 0.2585s | |||
-- add_index(:projects, :rgt) | |||
-> 0.0532s | |||
== 20091220183509 AddLftAndRgtIndexesToProjects: migrated (0.3120s) =========== | |||
== 20091220183727 AddIndexToSettingsName: migrating =========================== | |||
-- add_index(:settings, :name) | |||
-> 0.0534s | |||
== 20091220183727 AddIndexToSettingsName: migrated (0.0535s) ================== | |||
== 20091220184736 AddIndexesToIssueStatus: migrating ========================== | |||
-- add_index(:issue_statuses, :position) | |||
-> 0.0512s | |||
-- add_index(:issue_statuses, :is_closed) | |||
-> 0.0763s | |||
-- add_index(:issue_statuses, :is_default) | |||
-> 0.1008s | |||
== 20091220184736 AddIndexesToIssueStatus: migrated (0.2286s) ================= | |||
== 20091225164732 RemoveEnumerationsOpt: migrating ============================ | |||
-- remove_column(:enumerations, :opt) | |||
-> 0.1756s | |||
== 20091225164732 RemoveEnumerationsOpt: migrated (0.1757s) =================== | |||
== 20091227112908 ChangeWikiContentsTextLimit: migrating ====================== | |||
-- change_column(:wiki_contents, :text, :text, {:limit=>16777216}) | |||
-> 0.2473s | |||
-- change_column(:wiki_content_versions, :data, :binary, {:limit=>16777216}) | |||
-> 0.2703s | |||
== 20091227112908 ChangeWikiContentsTextLimit: migrated (0.5179s) ============= | |||
== 20100129193402 ChangeUsersMailNotificationToString: migrating ============== | |||
-- rename_column(:users, :mail_notification, :mail_notification_bool) | |||
-> 0.0320s | |||
-- add_column(:users, :mail_notification, :string, {:default=>"", :null=>false}) | |||
-> 0.2015s | |||
-- remove_column(:users, :mail_notification_bool) | |||
-> 0.1948s | |||
== 20100129193402 ChangeUsersMailNotificationToString: migrated (0.4461s) ===== | |||
== 20100129193813 UpdateMailNotificationValues: migrating ===================== | |||
== 20100129193813 UpdateMailNotificationValues: migrated (0.0000s) ============ | |||
== 20100221100219 AddIndexOnChangesetsScmid: migrating ======================== | |||
-- add_index(:changesets, [:repository_id, :scmid], {:name=>:changesets_repos_scmid}) | |||
-> 0.0928s | |||
== 20100221100219 AddIndexOnChangesetsScmid: migrated (0.0929s) =============== | |||
== 20100313132032 AddIssuesNestedSetsColumns: migrating ======================= | |||
-- add_column(:issues, :parent_id, :integer, {:default=>nil}) | |||
-> 0.5839s | |||
-- add_column(:issues, :root_id, :integer, {:default=>nil}) | |||
-> 0.2704s | |||
-- add_column(:issues, :lft, :integer, {:default=>nil}) | |||
-> 0.2900s | |||
-- add_column(:issues, :rgt, :integer, {:default=>nil}) | |||
-> 0.2888s | |||
== 20100313132032 AddIssuesNestedSetsColumns: migrated (1.4842s) ============== | |||
== 20100313171051 AddIndexOnIssuesNestedSet: migrating ======================== | |||
-- add_index(:issues, [:root_id, :lft, :rgt]) | |||
-> 0.0907s | |||
== 20100313171051 AddIndexOnIssuesNestedSet: migrated (0.0909s) =============== | |||
== 20100705164950 ChangeChangesPathLengthLimit: migrating ===================== | |||
-- change_column(:changes, :path, :text, {:default=>nil, :null=>true}) | |||
-> 0.2438s | |||
-- change_column(:changes, :path, :text, {:null=>false}) | |||
-> 0.1711s | |||
-- change_column(:changes, :from_path, :text) | |||
-> 0.2367s | |||
== 20100705164950 ChangeChangesPathLengthLimit: migrated (0.6520s) ============ | |||
== 20100819172912 EnableCalendarAndGanttModulesWhereAppropriate: migrating ==== | |||
== 20100819172912 EnableCalendarAndGanttModulesWhereAppropriate: migrated (0.0231s) | |||
== 20101104182107 AddUniqueIndexOnMembers: migrating ========================== | |||
-- add_index(:members, [:user_id, :project_id], {:unique=>true}) | |||
-> 0.0899s | |||
== 20101104182107 AddUniqueIndexOnMembers: migrated (0.1090s) ================= | |||
== 20101107130441 AddCustomFieldsVisible: migrating =========================== | |||
-- add_column(:custom_fields, :visible, :boolean, {:null=>false, :default=>true}) | |||
-> 0.1679s | |||
== 20101107130441 AddCustomFieldsVisible: migrated (0.1688s) ================== | |||
== 20101114115114 ChangeProjectsNameLimit: migrating ========================== | |||
-- change_column(:projects, :name, :string, {:limit=>nil, :default=>"", :null=>false}) | |||
-> 0.3460s | |||
== 20101114115114 ChangeProjectsNameLimit: migrated (0.3461s) ================= | |||
== 20101114115359 ChangeProjectsIdentifierLimit: migrating ==================== | |||
-- change_column(:projects, :identifier, :string, {:limit=>nil}) | |||
-> 0.5103s | |||
== 20101114115359 ChangeProjectsIdentifierLimit: migrated (0.5104s) =========== | |||
== 20110220160626 AddWorkflowsAssigneeAndAuthor: migrating ==================== | |||
-- add_column(:workflows, :assignee, :boolean, {:null=>false, :default=>false}) | |||
-> 0.3639s | |||
-- add_column(:workflows, :author, :boolean, {:null=>false, :default=>false}) | |||
-> 0.2085s | |||
== 20110220160626 AddWorkflowsAssigneeAndAuthor: migrated (0.5823s) =========== | |||
== 20110223180944 AddUsersSalt: migrating ===================================== | |||
-- add_column(:users, :salt, :string, {:limit=>64}) | |||
-> 0.2001s | |||
== 20110223180944 AddUsersSalt: migrated (0.2003s) ============================ | |||
== 20110223180953 SaltUserPasswords: migrating ================================ | |||
-- Salting user passwords, this may take some time... | |||
-> 0.0493s | |||
== 20110223180953 SaltUserPasswords: migrated (0.0495s) ======================= | |||
== 20110224000000 AddRepositoriesPathEncoding: migrating ====================== | |||
-- add_column(:repositories, :path_encoding, :string, {:limit=>64, :default=>nil}) | |||
-> 0.1762s | |||
== 20110224000000 AddRepositoriesPathEncoding: migrated (0.1763s) ============= | |||
== 20110226120112 ChangeRepositoriesPasswordLimit: migrating ================== | |||
-- change_column(:repositories, :password, :string, {:limit=>nil, :default=>""}) | |||
-> 0.2400s | |||
== 20110226120112 ChangeRepositoriesPasswordLimit: migrated (0.2401s) ========= | |||
== 20110226120132 ChangeAuthSourcesAccountPasswordLimit: migrating ============ | |||
-- change_column(:auth_sources, :account_password, :string, {:limit=>nil, :default=>""}) | |||
-> 0.3173s | |||
== 20110226120132 ChangeAuthSourcesAccountPasswordLimit: migrated (0.3174s) === | |||
== 20110227125750 ChangeJournalDetailsValuesToText: migrating ================= | |||
-- change_column(:journal_details, :old_value, :text) | |||
-> 0.3993s | |||
-- change_column(:journal_details, :value, :text) | |||
-> 0.2380s | |||
== 20110227125750 ChangeJournalDetailsValuesToText: migrated (0.6374s) ======== | |||
== 20110228000000 AddRepositoriesLogEncoding: migrating ======================= | |||
-- add_column(:repositories, :log_encoding, :string, {:limit=>64, :default=>nil}) | |||
-> 0.1994s | |||
== 20110228000000 AddRepositoriesLogEncoding: migrated (0.1995s) ============== | |||
== 20110228000100 CopyRepositoriesLogEncoding: migrating ====================== | |||
== 20110228000100 CopyRepositoriesLogEncoding: migrated (0.0061s) ============= | |||
== 20110401192910 AddIndexToUsersType: migrating ============================== | |||
-- add_index(:users, :type) | |||
-> 0.0872s | |||
== 20110401192910 AddIndexToUsersType: migrated (0.0873s) ===================== | |||
== 20110408103312 AddRolesIssuesVisibility: migrating ========================= | |||
-- add_column(:roles, :issues_visibility, :string, {:limit=>30, :default=>"default", :null=>false}) | |||
-> 0.1572s | |||
== 20110408103312 AddRolesIssuesVisibility: migrated (0.1574s) ================ | |||
== 20110412065600 AddIssuesIsPrivate: migrating =============================== | |||
-- add_column(:issues, :is_private, :boolean, {:default=>false, :null=>false}) | |||
-> 0.2957s | |||
== 20110412065600 AddIssuesIsPrivate: migrated (0.2958s) ====================== | |||
== 20110511000000 AddRepositoriesExtraInfo: migrating ========================= | |||
-- add_column(:repositories, :extra_info, :text) | |||
-> 0.2341s | |||
== 20110511000000 AddRepositoriesExtraInfo: migrated (0.2342s) ================ | |||
== 20110902000000 CreateChangesetParents: migrating =========================== | |||
-- create_table(:changeset_parents, {:id=>false}) | |||
-> 0.1010s | |||
-- add_index(:changeset_parents, [:changeset_id], {:unique=>false, :name=>:changeset_parents_changeset_ids}) | |||
-> 0.0881s | |||
-- add_index(:changeset_parents, [:parent_id], {:unique=>false, :name=>:changeset_parents_parent_ids}) | |||
-> 0.0775s | |||
== 20110902000000 CreateChangesetParents: migrated (0.2670s) ================== | |||
== 20111201201315 AddUniqueIndexToIssueRelations: migrating =================== | |||
-- add_index(:issue_relations, [:issue_from_id, :issue_to_id], {:unique=>true}) | |||
-> 0.0847s | |||
== 20111201201315 AddUniqueIndexToIssueRelations: migrated (0.0853s) ========== | |||
== 20120115143024 AddRepositoriesIdentifier: migrating ======================== | |||
-- add_column(:repositories, :identifier, :string) | |||
-> 0.1647s | |||
== 20120115143024 AddRepositoriesIdentifier: migrated (0.1648s) =============== | |||
== 20120115143100 AddRepositoriesIsDefault: migrating ========================= | |||
-- add_column(:repositories, :is_default, :boolean, {:default=>false}) | |||
-> 0.1643s | |||
== 20120115143100 AddRepositoriesIsDefault: migrated (0.1645s) ================ | |||
== 20120115143126 SetDefaultRepositories: migrating =========================== | |||
== 20120115143126 SetDefaultRepositories: migrated (0.0012s) ================== | |||
== 20120127174243 AddCustomFieldsMultiple: migrating ========================== | |||
-- add_column(:custom_fields, :multiple, :boolean, {:default=>false}) | |||
-> 0.1693s | |||
== 20120127174243 AddCustomFieldsMultiple: migrated (0.1694s) ================= | |||
== 20120205111326 ChangeUsersLoginLimit: migrating ============================ | |||
-- change_column(:users, :login, :string, {:limit=>nil, :default=>"", :null=>false}) | |||
-> 0.3540s | |||
== 20120205111326 ChangeUsersLoginLimit: migrated (0.3541s) =================== | |||
== 20120223110929 ChangeAttachmentsContainerDefaults: migrating =============== | |||
-- remove_index(:attachments, [:container_id, :container_type]) | |||
-> 0.0956s | |||
-- change_column(:attachments, :container_id, :integer, {:default=>nil, :null=>true}) | |||
-> 0.1834s | |||
-- change_column(:attachments, :container_type, :string, {:limit=>30, :default=>nil, :null=>true}) | |||
-> 0.1828s | |||
-- add_index(:attachments, [:container_id, :container_type]) | |||
-> 0.0988s | |||
== 20120223110929 ChangeAttachmentsContainerDefaults: migrated (0.5875s) ====== | |||
== 20120301153455 AddAuthSourcesFilter: migrating ============================= | |||
-- add_column(:auth_sources, :filter, :string) | |||
-> 0.1663s | |||
== 20120301153455 AddAuthSourcesFilter: migrated (0.1665s) ==================== | |||
== 20120422150750 ChangeRepositoriesToFullSti: migrating ====================== | |||
== 20120422150750 ChangeRepositoriesToFullSti: migrated (0.0004s) ============= | |||
== 20120705074331 AddTrackersFieldsBits: migrating ============================ | |||
-- add_column(:trackers, :fields_bits, :integer, {:default=>0}) | |||
-> 0.1538s | |||
== 20120705074331 AddTrackersFieldsBits: migrated (0.1540s) =================== | |||
== 20120707064544 AddAuthSourcesTimeout: migrating ============================ | |||
-- add_column(:auth_sources, :timeout, :integer) | |||
-> 0.1598s | |||
== 20120707064544 AddAuthSourcesTimeout: migrated (0.1599s) =================== | |||
== 20120714122000 AddWorkflowsType: migrating ================================= | |||
-- add_column(:workflows, :type, :string, {:limit=>30}) | |||
-> 0.2084s | |||
== 20120714122000 AddWorkflowsType: migrated (0.2086s) ======================== | |||
== 20120714122100 UpdateWorkflowsToSti: migrating ============================= | |||
== 20120714122100 UpdateWorkflowsToSti: migrated (0.0006s) ==================== | |||
== 20120714122200 AddWorkflowsRuleFields: migrating =========================== | |||
-- add_column(:workflows, :field_name, :string, {:limit=>30}) | |||
-> 0.2951s | |||
-- add_column(:workflows, :rule, :string, {:limit=>30}) | |||
-> 0.8039s | |||
== 20120714122200 AddWorkflowsRuleFields: migrated (1.0993s) ================== | |||
== 20120731164049 AddBoardsParentId: migrating ================================ | |||
-- add_column(:boards, :parent_id, :integer) | |||
-> 0.1870s | |||
== 20120731164049 AddBoardsParentId: migrated (0.1871s) ======================= | |||
== 20120930112914 AddJournalsPrivateNotes: migrating ========================== | |||
-- add_column(:journals, :private_notes, :boolean, {:default=>false, :null=>false}) | |||
-> 0.2035s | |||
== 20120930112914 AddJournalsPrivateNotes: migrated (0.2037s) ================= | |||
== 20121026002032 AddEnumerationsPositionName: migrating ====================== | |||
-- add_column(:enumerations, :position_name, :string, {:limit=>30}) | |||
-> 0.1804s | |||
== 20121026002032 AddEnumerationsPositionName: migrated (0.1806s) ============= | |||
== 20121026003537 PopulateEnumerationsPositionName: migrating ================= | |||
== 20121026003537 PopulateEnumerationsPositionName: migrated (0.0046s) ======== | |||
== 20121209123234 AddQueriesType: migrating =================================== | |||
-- add_column(:queries, :type, :string) | |||
-> 0.1786s | |||
== 20121209123234 AddQueriesType: migrated (0.1787s) ========================== | |||
== 20121209123358 UpdateQueriesToSti: migrating =============================== | |||
== 20121209123358 UpdateQueriesToSti: migrated (0.0262s) ====================== | |||
== 20121213084931 AddAttachmentsDiskDirectory: migrating ====================== | |||
-- add_column(:attachments, :disk_directory, :string) | |||
-> 0.2432s | |||
== 20121213084931 AddAttachmentsDiskDirectory: migrated (0.2433s) ============= | |||
== 20130110122628 SplitDocumentsPermissions: migrating ======================== | |||
== 20130110122628 SplitDocumentsPermissions: migrated (0.0011s) =============== | |||
== 20130201184705 AddUniqueIndexOnTokensValue: migrating ====================== | |||
-- Adding unique index on tokens, this may take some time... | |||
-- add_index(:tokens, :value, {:unique=>true, :name=>"tokens_value"}) | |||
-> 0.0828s | |||
-> 0.0896s | |||
== 20130201184705 AddUniqueIndexOnTokensValue: migrated (0.0896s) ============= | |||
== 20130202090625 AddProjectsInheritMembers: migrating ======================== | |||
-- add_column(:projects, :inherit_members, :boolean, {:default=>false, :null=>false}) | |||
-> 0.2702s | |||
== 20130202090625 AddProjectsInheritMembers: migrated (0.2703s) =============== | |||
== 20130207175206 AddUniqueIndexOnCustomFieldsTrackers: migrating ============= | |||
-- index_exists?(:custom_fields_trackers, [:custom_field_id, :tracker_id]) | |||
-> 0.0007s | |||
-- remove_index(:custom_fields_trackers, [:custom_field_id, :tracker_id]) | |||
-> 0.0775s | |||
-- add_index(:custom_fields_trackers, [:custom_field_id, :tracker_id], {:unique=>true}) | |||
-> 0.1843s | |||
== 20130207175206 AddUniqueIndexOnCustomFieldsTrackers: migrated (0.2634s) ==== | |||
== 20130207181455 AddUniqueIndexOnCustomFieldsProjects: migrating ============= | |||
-- index_exists?(:custom_fields_projects, [:custom_field_id, :project_id]) | |||
-> 0.0005s | |||
-- remove_index(:custom_fields_projects, [:custom_field_id, :project_id]) | |||
-> 0.0614s | |||
-- add_index(:custom_fields_projects, [:custom_field_id, :project_id], {:unique=>true}) | |||
-> 0.1525s | |||
== 20130207181455 AddUniqueIndexOnCustomFieldsProjects: migrated (0.2153s) ==== | |||
== 20130215073721 ChangeUsersLastnameLengthTo255: migrating =================== | |||
-- change_column(:users, :lastname, :string, {:limit=>255, :default=>"", :null=>false}) | |||
-> 0.2715s | |||
== 20130215073721 ChangeUsersLastnameLengthTo255: migrated (0.2717s) ========== | |||
== 20130215111127 AddIssuesClosedOn: migrating ================================ | |||
-- add_column(:issues, :closed_on, :datetime, {:default=>nil}) | |||
-> 0.3003s | |||
== 20130215111127 AddIssuesClosedOn: migrated (0.3004s) ======================= | |||
== 20130215111141 PopulateIssuesClosedOn: migrating =========================== | |||
== 20130215111141 PopulateIssuesClosedOn: migrated (0.0014s) ================== | |||
== 20130217094251 RemoveIssuesDefaultFkValues: migrating ====================== | |||
-- change_column_default(:issues, :tracker_id, nil) | |||
-> 0.0168s | |||
-- change_column_default(:issues, :project_id, nil) | |||
-> 0.0168s | |||
-- change_column_default(:issues, :status_id, nil) | |||
-> 0.0168s | |||
-- change_column_default(:issues, :assigned_to_id, nil) | |||
-> 0.0168s | |||
-- change_column_default(:issues, :priority_id, nil) | |||
-> 0.0168s | |||
-- change_column_default(:issues, :author_id, nil) | |||
-> 0.0168s | |||
== 20130217094251 RemoveIssuesDefaultFkValues: migrated (0.1013s) ============= | |||
== 20130602092539 CreateQueriesRoles: migrating =============================== | |||
-- create_table(:queries_roles, {:id=>false}) | |||
-> 0.1136s | |||
-- add_index(:queries_roles, [:query_id, :role_id], {:unique=>true, :name=>:queries_roles_ids}) | |||
-> 0.2141s | |||
== 20130602092539 CreateQueriesRoles: migrated (0.3280s) ====================== | |||
== 20130710182539 AddQueriesVisibility: migrating ============================= | |||
-- add_column(:queries, :visibility, :integer, {:default=>0}) | |||
-> 0.1854s | |||
-- remove_column(:queries, :is_public) | |||
-> 0.1784s | |||
== 20130710182539 AddQueriesVisibility: migrated (0.3650s) ==================== | |||
== 20130713104233 CreateCustomFieldsRoles: migrating ========================== | |||
-- create_table(:custom_fields_roles, {:id=>false}) | |||
-> 0.0925s | |||
-- add_index(:custom_fields_roles, [:custom_field_id, :role_id], {:unique=>true, :name=>:custom_fields_roles_ids}) | |||
-> 0.1542s | |||
== 20130713104233 CreateCustomFieldsRoles: migrated (0.2480s) ================= | |||
== 20130713111657 AddQueriesOptions: migrating ================================ | |||
-- add_column(:queries, :options, :text) | |||
-> 0.1788s | |||
== 20130713111657 AddQueriesOptions: migrated (0.1789s) ======================= | |||
== 20130729070143 AddUsersMustChangePasswd: migrating ========================= | |||
-- add_column(:users, :must_change_passwd, :boolean, {:default=>false, :null=>false}) | |||
-> 0.3422s | |||
== 20130729070143 AddUsersMustChangePasswd: migrated (0.3424s) ================ | |||
== 20130911193200 RemoveEolsFromAttachmentsFilename: migrating ================ | |||
== 20130911193200 RemoveEolsFromAttachmentsFilename: migrated (0.0035s) ======= | |||
== 20131004113137 SupportForMultipleCommitKeywords: migrating ================= | |||
== 20131004113137 SupportForMultipleCommitKeywords: migrated (0.0036s) ======== | |||
== 20131005100610 AddRepositoriesCreatedOn: migrating ========================= | |||
-- add_column(:repositories, :created_on, :timestamp) | |||
-> 0.4068s | |||
== 20131005100610 AddRepositoriesCreatedOn: migrated (0.4069s) ================ | |||
== 20131124175346 AddCustomFieldsFormatStore: migrating ======================= | |||
-- add_column(:custom_fields, :format_store, :text) | |||
-> 0.1670s | |||
== 20131124175346 AddCustomFieldsFormatStore: migrated (0.1671s) ============== | |||
== 20131210180802 AddCustomFieldsDescription: migrating ======================= | |||
-- add_column(:custom_fields, :description, :text) | |||
-> 0.1802s | |||
== 20131210180802 AddCustomFieldsDescription: migrated (0.1803s) ============== | |||
== 20131214094309 RemoveCustomFieldsMinMaxLengthDefaultValues: migrating ====== | |||
-- change_column(:custom_fields, :min_length, :int, {:default=>nil, :null=>true}) | |||
-> 0.1680s | |||
-- change_column(:custom_fields, :max_length, :int, {:default=>nil, :null=>true}) | |||
-> 0.1464s | |||
== 20131214094309 RemoveCustomFieldsMinMaxLengthDefaultValues: migrated (0.3162s) | |||
== 20131215104612 StoreRelationTypeInJournalDetails: migrating ================ | |||
== 20131215104612 StoreRelationTypeInJournalDetails: migrated (0.0121s) ======= | |||
== 20131218183023 DeleteOrphanTimeEntriesCustomValues: migrating ============== | |||
== 20131218183023 DeleteOrphanTimeEntriesCustomValues: migrated (0.0008s) ===== | |||
== 20140228130325 ChangeChangesetsCommentsLimit: migrating ==================== | |||
-- change_column(:changesets, :comments, :text, {:limit=>16777216}) | |||
-> 0.2930s | |||
== 20140228130325 ChangeChangesetsCommentsLimit: migrated (0.2932s) =========== | |||
== 20140903143914 AddPasswordChangedAtToUser: migrating ======================= | |||
-- add_column(:users, :passwd_changed_on, :datetime) | |||
-> 0.1717s | |||
== 20140903143914 AddPasswordChangedAtToUser: migrated (0.1718s) ============== | |||
== 20140920094058 InsertBuiltinGroups: migrating ============================== | |||
== 20140920094058 InsertBuiltinGroups: migrated (0.1328s) ===================== | |||
== 20141029181752 AddTrackersDefaultStatusId: migrating ======================= | |||
-- add_column(:trackers, :default_status_id, :integer) | |||
-> 0.1612s | |||
== 20141029181752 AddTrackersDefaultStatusId: migrated (0.1630s) ============== | |||
== 20141029181824 RemoveIssueStatusesIsDefault: migrating ===================== | |||
-- remove_column(:issue_statuses, :is_default) | |||
-> 0.1700s | |||
== 20141029181824 RemoveIssueStatusesIsDefault: migrated (0.1701s) ============ | |||
== 20141109112308 AddRolesUsersVisibility: migrating ========================== | |||
-- add_column(:roles, :users_visibility, :string, {:limit=>30, :default=>"all", :null=>false}) | |||
-> 0.2928s | |||
== 20141109112308 AddRolesUsersVisibility: migrated (0.2930s) ================= | |||
== 20141122124142 AddWikiRedirectsRedirectsToWikiId: migrating ================ | |||
-- add_column(:wiki_redirects, :redirects_to_wiki_id, :integer) | |||
-> 0.1846s | |||
-- change_column(:wiki_redirects, :redirects_to_wiki_id, :integer, {:null=>false}) | |||
-> 0.1668s | |||
== 20141122124142 AddWikiRedirectsRedirectsToWikiId: migrated (0.3724s) ======= | |||
== 20150113194759 CreateEmailAddresses: migrating ============================= | |||
-- create_table(:email_addresses) | |||
-> 0.0838s | |||
== 20150113194759 CreateEmailAddresses: migrated (0.0839s) ==================== | |||
== 20150113211532 PopulateEmailAddresses: migrating =========================== | |||
== 20150113211532 PopulateEmailAddresses: migrated (0.0143s) ================== | |||
== 20150113213922 RemoveUsersMail: migrating ================================== | |||
-- remove_column(:users, :mail) | |||
-> 0.2038s | |||
== 20150113213922 RemoveUsersMail: migrated (0.2039s) ========================= | |||
== 20150113213955 AddEmailAddressesUserIdIndex: migrating ===================== | |||
-- add_index(:email_addresses, :user_id) | |||
-> 0.0846s | |||
== 20150113213955 AddEmailAddressesUserIdIndex: migrated (0.0847s) ============ | |||
== 20150208105930 ReplaceMoveIssuesPermission: migrating ====================== | |||
== 20150208105930 ReplaceMoveIssuesPermission: migrated (0.0010s) ============= | |||
== 20150510083747 ChangeDocumentsTitleLimit: migrating ======================== | |||
-- change_column(:documents, :title, :string, {:limit=>nil, :default=>"", :null=>false}) | |||
-> 0.2697s | |||
== 20150510083747 ChangeDocumentsTitleLimit: migrated (0.2699s) =============== | |||
== 20150525103953 ClearEstimatedHoursOnParentIssues: migrating ================ | |||
== 20150525103953 ClearEstimatedHoursOnParentIssues: migrated (0.0041s) ======= | |||
== 20150526183158 AddRolesTimeEntriesVisibility: migrating ==================== | |||
-- add_column(:roles, :time_entries_visibility, :string, {:limit=>30, :default=>"all", :null=>false}) | |||
-> 0.1506s | |||
== 20150526183158 AddRolesTimeEntriesVisibility: migrated (0.1508s) =========== | |||
== 20150528084820 AddRolesAllRolesManaged: migrating ========================== | |||
-- add_column(:roles, :all_roles_managed, :boolean, {:default=>true, :null=>false}) | |||
-> 0.1455s | |||
== 20150528084820 AddRolesAllRolesManaged: migrated (0.1456s) ================= | |||
== 20150528092912 CreateRolesManagedRoles: migrating ========================== | |||
-- create_table(:roles_managed_roles, {:id=>false}) | |||
-> 0.0927s | |||
== 20150528092912 CreateRolesManagedRoles: migrated (0.0928s) ================= | |||
== 20150528093249 AddUniqueIndexOnRolesManagedRoles: migrating ================ | |||
-- add_index(:roles_managed_roles, [:role_id, :managed_role_id], {:unique=>true}) | |||
-> 0.1519s | |||
== 20150528093249 AddUniqueIndexOnRolesManagedRoles: migrated (0.1520s) ======= | |||
== 20150725112753 InsertAllowedStatusesForNewIssues: migrating ================ | |||
== 20150725112753 InsertAllowedStatusesForNewIssues: migrated (0.0300s) ======= | |||
== 20150730122707 CreateImports: migrating ==================================== | |||
-- create_table(:imports) | |||
-> 0.0924s | |||
== 20150730122707 CreateImports: migrated (0.0925s) =========================== | |||
== 20150730122735 CreateImportItems: migrating ================================ | |||
-- create_table(:import_items) | |||
-> 0.0916s | |||
== 20150730122735 CreateImportItems: migrated (0.0917s) ======================= | |||
== 20150921204850 ChangeTimeEntriesCommentsLimitTo1024: migrating ============= | |||
-- change_column(:time_entries, :comments, :string, {:limit=>1024}) | |||
-> 0.7811s | |||
== 20150921204850 ChangeTimeEntriesCommentsLimitTo1024: migrated (0.7813s) ==== | |||
== 20150921210243 ChangeWikiContentsCommentsLimitTo1024: migrating ============ | |||
-- change_column(:wiki_content_versions, :comments, :string, {:limit=>1024, :default=>""}) | |||
-> 0.2543s | |||
-- change_column(:wiki_contents, :comments, :string, {:limit=>1024, :default=>""}) | |||
-> 0.2365s | |||
== 20150921210243 ChangeWikiContentsCommentsLimitTo1024: migrated (0.4910s) === | |||
== 20151020182334 ChangeAttachmentsFilesizeLimitTo8: migrating ================ | |||
-- change_column(:attachments, :filesize, :integer, {:limit=>8, :default=>0, :null=>false}) | |||
-> 0.2547s | |||
== 20151020182334 ChangeAttachmentsFilesizeLimitTo8: migrated (0.2548s) ======= | |||
== 20151020182731 FixCommaInUserFormatSettingValue: migrating ================= | |||
== 20151020182731 FixCommaInUserFormatSettingValue: migrated (0.0011s) ======== | |||
== 20151021184614 ChangeIssueCategoriesNameLimitTo60: migrating =============== | |||
-- change_column(:issue_categories, :name, :string, {:limit=>60, :default=>"", :null=>false}) | |||
-> 0.2370s | |||
== 20151021184614 ChangeIssueCategoriesNameLimitTo60: migrated (0.2372s) ====== | |||
== 20151021185456 ChangeAuthSourcesFilterToText: migrating ==================== | |||
-- change_column(:auth_sources, :filter, :text) | |||
-> 0.2369s | |||
== 20151021185456 ChangeAuthSourcesFilterToText: migrated (0.2370s) =========== | |||
== 20151021190616 ChangeUserPreferencesHideMailDefaultToTrue: migrating ======= | |||
-- change_column(:user_preferences, :hide_mail, :boolean, {:default=>true}) | |||
-> 0.0157s | |||
== 20151021190616 ChangeUserPreferencesHideMailDefaultToTrue: migrated (0.0158s) | |||
== 20151024082034 AddTokensUpdatedOn: migrating =============================== | |||
-- add_column(:tokens, :updated_on, :timestamp) | |||
-> 0.1698s | |||
== 20151024082034 AddTokensUpdatedOn: migrated (0.1706s) ====================== | |||
== 20151025072118 CreateCustomFieldEnumerations: migrating ==================== | |||
-- create_table(:custom_field_enumerations) | |||
-> 0.0866s | |||
== 20151025072118 CreateCustomFieldEnumerations: migrated (0.0867s) =========== | |||
== 20151031095005 AddProjectsDefaultVersionId: migrating ====================== | |||
-- column_exists?(:projects, :default_version_id, :integer) | |||
-> 0.0021s | |||
-- add_column(:projects, :default_version_id, :integer, {:default=>nil}) | |||
-> 0.1703s | |||
== 20151031095005 AddProjectsDefaultVersionId: migrated (0.1726s) ============= | |||
</pre> | |||
!--> | |||
: <code>RAILS_ENV=production rake redmine:load_default_data</code> | : <code>RAILS_ENV=production rake redmine:load_default_data</code> | ||
<pre> | <pre> |
Version vom 22. November 2017, 19:35 Uhr
- Achtung
Dieser Artikel ist ein exemplarischer Artikel.
Es handelt sich hierbei nicht um die Instanz Redmine als AUS vom StuRa. Dazu dienen die Artikel:
Installation
Randbedingungen
- OS
- FreeNAS 9.3
- Paketverwaltung
- freebsd-man:pkgng
Vorbereitung der Installation
- pauschales Aktualisieren
pkg update; pkg upgrade -y
- zsh installieren und in zsh wechseln
pkg install -y zsh; zsh
tatsächliche Installation
Lokalisation prüfen und setzen
- (optional) kann sich angeschaut werden welche Werte (für die Einstellungen) gesetzt sind
locale
- (optional) kann sich angeschaut werden welche Werte (für die Einstellungen) gesetzt werden können
locale -a
- Setzen der Werte für deutsche Lokalisation (de_DE)
- Insbesondere für die Programmiersprache Ruby soll das wichtig sein. Das gilt insbesondere, wenn Ruby selbst kompiliert wird.
export LANG=de_DE.UTF-8
export LC_ALL=de_DE.UTF-8
Installieren von benötigten Paketen
- Siehe auch
- Installieren von Redmine
pkg install -y redmine
- Der Client für MySQL (mysql56-client) wird standardmäßig mit installiert. Demnach ist davon auszugehen, dass MySQL als Standard - auch für den Server (mysql56-server) - vorgesehen ist.
- Installieren von MySQL
pkg install -y mysql56-server
- Einrichten von MySQL
sysrc mysql_enable="YES"
service mysql-server start
Starting mysql.
mysql_install_db --basedir /usr/local
- Das Auswahl des Verzeichnisses /usr/local ist wohl üblich, könnte aber vielleicht auch anders gewählt werden.
mysqladmin -u root password
New password:
Confirm new password:
mysql_secure_installation
Change the root password? [Y/n] n
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 Server version: 5.6.25 Source distribution Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database redmine character set utf8;
Query OK, 1 row affected (0,00 sec)
mysql> create user 'redmine'@'localhost' identified by 'redmine';
Query OK, 0 rows affected (0,01 sec)
mysql> grant all privileges on redmine.* to 'redmine'@'localhost';
Query OK, 0 rows affected (0,00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0,00 sec)
mysql> quit;
Bye
- Einrichten von Redmine
sysrc redmine_enable="YES"
cd /usr/local/www/redmine
- Erstellen der Datei zur Konfiguration für die Datenbank für Redmine
-
- (optionales) Kopieren des beispielhaften Datei zur Konfiguration
cp /usr/local/www/redmine/config/database.yml.example /usr/local/www/redmine/config/database.yml
$EDITOR /usr/local/www/redmine/config/database.yml
- Beispielsweise bei password muss das Passwort für die Datenbank eingetragen werden und nicht redmine.
production: adapter: mysql database: redmine host: localhost username: redmine password: redmine encoding: utf8
bundle install
rake generate_session_store
Note: The rake task generate_session_store has been deprecated, please use the replacement version generate_secret_token
rake generate_secret_token
RAILS_ENV=production rake db:migrate
RAILS_ENV=production rake redmine:load_default_data
Select language: ar, az, bg, bs, ca, cs, da, de, el, en, en-GB, es, et, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sq, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en] de
==================================== Default configuration data loaded.
mkdir tmp tmp/pdf public/plugin_assets
chmod -R 755 files log tmp public/plugin_assets
cd public
cp dispatch.fcgi.example dispatch.fcgi
pw useradd redmine -d /usr/local/www/redmine
chown -R redmine:redmine /usr/local/www/redmine
- installieren der Funktionalität passenger für Ruby
pkg install -y rubygem-passenger
- Apache wird standardmäßig mit installiert. Demnach ist davon auszugehen, dass Apache als Standard vorgesehen ist.
- Apache (hier 2.4) einrichten
sysrc apache24_enable="YES"
$EDITOR /usr/local/etc/apache24/httpd.conf
LoadModule passenger_module /usr/local/lib/ruby/gems/2.3/gems/passenger-5.1.5/buildout/apache2/mod_passenger.so PassengerRoot /usr/local/lib/ruby/gems/2.3/gems/passenger-5.1.5 PassengerRuby /usr/local/bin/ruby23
service apache24 start
pkg install -y ap24-mod_fastcgi
[preparing module `fastcgi' in /usr/local/etc/apache24/httpd.conf]
$EDITOR /usr/local/etc/apache24/httpd.conf
LoadModule fastcgi_module libexec/apache24/mod_fastcgi.so
$EDITOR /usr/local/etc/apache24/httpd.conf
#LoadModule rewrite_module libexec/apache24/mod_rewrite.so LoadModule rewrite_module libexec/apache24/mod_rewrite.so
#User www #Group www User redmine Group redmine
ServerName localhost:80 #ServerName www.example.com:80
#<Directory /> # AllowOverride none # Require all denied #</Directory>
#DocumentRoot "/usr/local/www/apache24/data" DocumentRoot "/usr/local/www/redmine/public" ErrorLog "/usr/local/www/redmine/log/redmine.example.com-error.log" CustomLog "/usr/local/www/redmine/log/redmine.example.com-access.log" combined
<Directory "/usr/local/www/redmine/public"> Options -MultiViews +FollowSymLinks +ExecCGI AllowOverride All Order Allow,Deny Allow from all RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi </Directory>
# #<Directory "/usr/local/www/apache24/data"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # # Options Indexes FollowSymLinks # # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # AllowOverride FileInfo AuthConfig Limit # # AllowOverride None # # # Controls who can get stuff from this server. # # Require all granted #</Directory>
LoadModule passenger_module /usr/local/lib/ruby/gems/2.1/gems/passenger-5.0.14/buildout/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/2.1/gems/passenger-5.0.14 PassengerRuby /usr/local/bin/ruby21
LoadModule fastcgi_module libexec/apache24/mod_fastcgi.so
<IfModule fastcgi_module> AddHandler fastcgi-script .fcgi FastCgiConfig -idle-timeout 600 -restart -pass-header Authorization </IfModule>
service apache24 restart
- Erreichbarkeit per http
- // prüfen
- Testweise Anmelden mit
-
- Mitgliedsname
admin
- Kennwort
admin
alternative Komponenten für die Installation
nginx
nginx statt Apache als web server
PostgreSQL
PostgreSQL statt MySQL als database
Alternative nginx + PostgreSQL
Achtung! Dieser Abschnitt ist nicht vollständig. Dieser Abschnitte ist nicht getestet.
- nginx als Alternative zu apache24
- Installieren von nginx
pkg install nginx
echo 'nginx_enable="YES"' >> /etc/rc.conf
pkg install rubygem-passenger
passenger-config --root
- Installieren von PostgreSQL
pkg install rubygem-pg
- client für PostgreSQL sollte bereits installiert sein.
pkg info | grep postgresql
postgresql93-client-9.3.9
pkg install postgresql93-server
- Einrichten von PostgreSQL
echo 'postgresql_enable="YES"' >> /etc/rc.conf
- Wenn es sich um eine Jail handelt, so muss für PostgreSQL SysV IPC erlaubt sein. Bei FreeNAS muss einfach bei der Jail
,allow.sysvipc=true
ergänzend eingetragen werden.
- Wenn es sich um eine Jail handelt, so muss für PostgreSQL SysV IPC erlaubt sein. Bei FreeNAS muss einfach bei der Jail
service postgresql initdb
service postgresql start
su pgsql
createdb redminedb
exit
passwd pgsql
- Exemplarisch wird nachfolgend davon ausgegangen, dass das Passwort redmine-passwd verwendet wurde.
production: adapter: postgresql database: redminedb host: localhost username: pgsql password: "redmine-passwd" encoding: utf8
echo '/usr/local/www/redmine/log/production.log 644 3 3000 * J' >> /etc/newsyslog.conf
Aktualisierung
Plugins
Plugin Installation
- Siehe auch
- aufgabe:111
Plugin Aktualisierung
Plugin Denstallation
- Siehe auch
- aufgabe:111
einzelne Plugins
CKEditor
- Siehe auch
- aufgabe:108