Connecting to database specified by database.yml SQL (0.0ms) USE [NanoMINE_development] OpenIdAuthentication.store is nil. Using in-memory store.  (46.9ms) CREATE TABLE [schema_migrations] ([version] nvarchar(255) NOT NULL)  (31.2ms) EXEC sp_executesql N'EXEC sp_helpindex N''schema_migrations'''  (0.0ms) CREATE UNIQUE INDEX [unique_schema_migrations] ON [schema_migrations] ([version])  (0.0ms) SELECT [schema_migrations].[version] FROM [schema_migrations] Migrating to Setup (1) SQL (0.0ms) BEGIN TRANSACTION  (0.0ms) CREATE TABLE [attachments] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [container_id] integer DEFAULT 0 NOT NULL, [container_type] nvarchar(30) DEFAULT N'' NOT NULL, [filename] nvarchar(255) DEFAULT N'' NOT NULL, [disk_filename] nvarchar(255) DEFAULT N'' NOT NULL, [filesize] integer DEFAULT 0 NOT NULL, [content_type] nvarchar(60) DEFAULT N'', [digest] nvarchar(40) DEFAULT N'' NOT NULL, [downloads] integer DEFAULT 0 NOT NULL, [author_id] integer DEFAULT 0 NOT NULL, [created_on] datetime)   (15.6ms) CREATE TABLE [auth_sources] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [type] nvarchar(30) DEFAULT N'' NOT NULL, [name] nvarchar(60) DEFAULT N'' NOT NULL, [host] nvarchar(60), [port] integer, [account] nvarchar(60), [account_password] nvarchar(60), [base_dn] nvarchar(255), [attr_login] nvarchar(30), [attr_firstname] nvarchar(30), [attr_lastname] nvarchar(30), [attr_mail] nvarchar(30), [onthefly_register] bit DEFAULT 0 NOT NULL)  (15.6ms) CREATE TABLE [custom_fields] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [type] nvarchar(30) DEFAULT N'' NOT NULL, [name] nvarchar(30) DEFAULT N'' NOT NULL, [field_format] nvarchar(30) DEFAULT N'' NOT NULL, [possible_values] nvarchar(max), [regexp] nvarchar(255) DEFAULT N'', [min_length] integer DEFAULT 0 NOT NULL, [max_length] integer DEFAULT 0 NOT NULL, [is_required] bit DEFAULT 0 NOT NULL, [is_for_all] bit DEFAULT 0 NOT NULL)   (0.0ms) CREATE TABLE [custom_fields_projects] ([custom_field_id] integer DEFAULT 0 NOT NULL, [project_id] integer DEFAULT 0 NOT NULL)  (0.0ms) CREATE TABLE [custom_fields_trackers] ([custom_field_id] integer DEFAULT 0 NOT NULL, [tracker_id] integer DEFAULT 0 NOT NULL)   (0.0ms) CREATE TABLE [custom_values] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [customized_type] nvarchar(30) DEFAULT N'' NOT NULL, [customized_id] integer DEFAULT 0 NOT NULL, [custom_field_id] integer DEFAULT 0 NOT NULL, [value] nvarchar(max))  (15.6ms) CREATE TABLE [documents] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [project_id] integer DEFAULT 0 NOT NULL, [category_id] integer DEFAULT 0 NOT NULL, [title] nvarchar(60) DEFAULT N'' NOT NULL, [description] nvarchar(max), [created_on] datetime)   (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''documents'''  (15.6ms) CREATE INDEX [documents_project_id] ON [documents] ([project_id])  (0.0ms) CREATE TABLE [enumerations] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [opt] nvarchar(4) DEFAULT N'' NOT NULL, [name] nvarchar(30) DEFAULT N'' NOT NULL)  (0.0ms) CREATE TABLE [issue_categories] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [project_id] integer DEFAULT 0 NOT NULL, [name] nvarchar(30) DEFAULT N'' NOT NULL)   (15.6ms) EXEC sp_executesql N'EXEC sp_helpindex N''issue_categories'''  (0.0ms) CREATE INDEX [issue_categories_project_id] ON [issue_categories] ([project_id])  (15.6ms) CREATE TABLE [issue_histories] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [issue_id] integer DEFAULT 0 NOT NULL, [status_id] integer DEFAULT 0 NOT NULL, [author_id] integer DEFAULT 0 NOT NULL, [notes] nvarchar(max), [created_on] datetime)  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''issue_histories'''  (0.0ms) CREATE INDEX [issue_histories_issue_id] ON [issue_histories] ([issue_id])  (0.0ms) CREATE TABLE [issue_statuses] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [name] nvarchar(30) DEFAULT N'' NOT NULL, [is_closed] bit DEFAULT 0 NOT NULL, [is_default] bit DEFAULT 0 NOT NULL, [html_color] nvarchar(6) DEFAULT N'FFFFFF' NOT NULL)   (0.0ms) CREATE TABLE [issues] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [tracker_id] integer DEFAULT 0 NOT NULL, [project_id] integer DEFAULT 0 NOT NULL, [subject] nvarchar(255) DEFAULT N'' NOT NULL, [description] nvarchar(max), [due_date] date, [category_id] integer, [status_id] integer DEFAULT 0 NOT NULL, [assigned_to_id] integer, [priority_id] integer DEFAULT 0 NOT NULL, [fixed_version_id] integer, [author_id] integer DEFAULT 0 NOT NULL, [lock_version] integer DEFAULT 0 NOT NULL, [created_on] datetime, [updated_on] datetime)  (15.6ms) EXEC sp_executesql N'EXEC sp_helpindex N''issues'''  (31.2ms) CREATE INDEX [issues_project_id] ON [issues] ([project_id])  (0.0ms) CREATE TABLE [members] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [user_id] integer DEFAULT 0 NOT NULL, [project_id] integer DEFAULT 0 NOT NULL, [role_id] integer DEFAULT 0 NOT NULL, [created_on] datetime)   (203.1ms) CREATE TABLE [news] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [project_id] integer, [title] nvarchar(60) DEFAULT N'' NOT NULL, [summary] nvarchar(255) DEFAULT N'', [description] nvarchar(max), [author_id] integer DEFAULT 0 NOT NULL, [created_on] datetime)  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''news'''  (0.0ms) CREATE INDEX [news_project_id] ON [news] ([project_id])  (0.0ms) CREATE TABLE [permissions] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [controller] nvarchar(30) DEFAULT N'' NOT NULL, [action] nvarchar(30) DEFAULT N'' NOT NULL, [description] nvarchar(60) DEFAULT N'' NOT NULL, [is_public] bit DEFAULT 0 NOT NULL, [sort] integer DEFAULT 0 NOT NULL, [mail_option] bit DEFAULT 0 NOT NULL, [mail_enabled] bit DEFAULT 0 NOT NULL)   (0.0ms) CREATE TABLE [permissions_roles] ([permission_id] integer DEFAULT 0 NOT NULL, [role_id] integer DEFAULT 0 NOT NULL)  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''permissions_roles'''  (15.6ms) CREATE INDEX [permissions_roles_role_id] ON [permissions_roles] ([role_id])  (0.0ms) CREATE TABLE [projects] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [name] nvarchar(30) DEFAULT N'' NOT NULL, [description] nvarchar(255) DEFAULT N'' NOT NULL, [homepage] nvarchar(60) DEFAULT N'', [is_public] bit DEFAULT 1 NOT NULL, [parent_id] integer, [projects_count] integer DEFAULT 0, [created_on] datetime, [updated_on] datetime)   (0.0ms) CREATE TABLE [roles] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [name] nvarchar(30) DEFAULT N'' NOT NULL)  (0.0ms) CREATE TABLE [tokens] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [user_id] integer DEFAULT 0 NOT NULL, [action] nvarchar(30) DEFAULT N'' NOT NULL, [value] nvarchar(40) DEFAULT N'' NOT NULL, [created_on] datetime NOT NULL)   (0.0ms) CREATE TABLE [trackers] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [name] nvarchar(30) DEFAULT N'' NOT NULL, [is_in_chlog] bit DEFAULT 0 NOT NULL)  (15.6ms) CREATE TABLE [users] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [login] nvarchar(30) DEFAULT N'' NOT NULL, [hashed_password] nvarchar(40) DEFAULT N'' NOT NULL, [firstname] nvarchar(30) DEFAULT N'' NOT NULL, [lastname] nvarchar(30) DEFAULT N'' NOT NULL, [mail] nvarchar(60) DEFAULT N'' NOT NULL, [mail_notification] bit DEFAULT 1 NOT NULL, [admin] bit DEFAULT 0 NOT NULL, [status] integer DEFAULT 1 NOT NULL, [last_login_on] datetime, [language] nvarchar(2) DEFAULT N'', [auth_source_id] integer, [created_on] datetime, [updated_on] datetime)   (15.6ms) CREATE TABLE [versions] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [project_id] integer DEFAULT 0 NOT NULL, [name] nvarchar(30) DEFAULT N'' NOT NULL, [description] nvarchar(255) DEFAULT N'', [effective_date] date, [created_on] datetime, [updated_on] datetime)  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''versions'''  (0.0ms) CREATE INDEX [versions_project_id] ON [versions] ([project_id])  (187.5ms) CREATE TABLE [workflows] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [tracker_id] integer DEFAULT 0 NOT NULL, [old_status_id] integer DEFAULT 0 NOT NULL, [new_status_id] integer DEFAULT 0 NOT NULL, [role_id] integer DEFAULT 0 NOT NULL)  SQL (31.2ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'show', @1 = N'projects', @2 = N'label_overview', @3 = 1, @4 = 0, @5 = 0, @6 = 100 [["action", "show"], ["controller", "projects"], ["description", "label_overview"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 100]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'changelog', @1 = N'projects', @2 = N'label_change_log', @3 = 1, @4 = 0, @5 = 0, @6 = 105 [["action", "changelog"], ["controller", "projects"], ["description", "label_change_log"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 105]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'issue_report', @1 = N'reports', @2 = N'label_report_plural', @3 = 1, @4 = 0, @5 = 0, @6 = 110 [["action", "issue_report"], ["controller", "reports"], ["description", "label_report_plural"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 110]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'settings', @1 = N'projects', @2 = N'label_settings', @3 = 0, @4 = 0, @5 = 0, @6 = 150 [["action", "settings"], ["controller", "projects"], ["description", "label_settings"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 150]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'edit', @1 = N'projects', @2 = N'button_edit', @3 = 0, @4 = 0, @5 = 0, @6 = 151 [["action", "edit"], ["controller", "projects"], ["description", "button_edit"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 151]] SQL (15.6ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'list_members', @1 = N'projects', @2 = N'button_list', @3 = 1, @4 = 0, @5 = 0, @6 = 200 [["action", "list_members"], ["controller", "projects"], ["description", "button_list"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 200]] SQL (15.6ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'add_member', @1 = N'projects', @2 = N'button_add', @3 = 0, @4 = 0, @5 = 0, @6 = 220 [["action", "add_member"], ["controller", "projects"], ["description", "button_add"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 220]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'edit', @1 = N'members', @2 = N'button_edit', @3 = 0, @4 = 0, @5 = 0, @6 = 221 [["action", "edit"], ["controller", "members"], ["description", "button_edit"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 221]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'destroy', @1 = N'members', @2 = N'button_delete', @3 = 0, @4 = 0, @5 = 0, @6 = 222 [["action", "destroy"], ["controller", "members"], ["description", "button_delete"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 222]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'add_version', @1 = N'projects', @2 = N'button_add', @3 = 0, @4 = 0, @5 = 0, @6 = 320 [["action", "add_version"], ["controller", "projects"], ["description", "button_add"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 320]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'edit', @1 = N'versions', @2 = N'button_edit', @3 = 0, @4 = 0, @5 = 0, @6 = 321 [["action", "edit"], ["controller", "versions"], ["description", "button_edit"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 321]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'destroy', @1 = N'versions', @2 = N'button_delete', @3 = 0, @4 = 0, @5 = 0, @6 = 322 [["action", "destroy"], ["controller", "versions"], ["description", "button_delete"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 322]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'add_issue_category', @1 = N'projects', @2 = N'button_add', @3 = 0, @4 = 0, @5 = 0, @6 = 420 [["action", "add_issue_category"], ["controller", "projects"], ["description", "button_add"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 420]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'edit', @1 = N'issue_categories', @2 = N'button_edit', @3 = 0, @4 = 0, @5 = 0, @6 = 421 [["action", "edit"], ["controller", "issue_categories"], ["description", "button_edit"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 421]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'destroy', @1 = N'issue_categories', @2 = N'button_delete', @3 = 0, @4 = 0, @5 = 0, @6 = 422 [["action", "destroy"], ["controller", "issue_categories"], ["description", "button_delete"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 422]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'list_issues', @1 = N'projects', @2 = N'button_list', @3 = 1, @4 = 0, @5 = 0, @6 = 1000 [["action", "list_issues"], ["controller", "projects"], ["description", "button_list"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1000]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'export_issues_csv', @1 = N'projects', @2 = N'label_export_csv', @3 = 1, @4 = 0, @5 = 0, @6 = 1001 [["action", "export_issues_csv"], ["controller", "projects"], ["description", "label_export_csv"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1001]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'show', @1 = N'issues', @2 = N'button_view', @3 = 1, @4 = 0, @5 = 0, @6 = 1005 [["action", "show"], ["controller", "issues"], ["description", "button_view"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1005]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'download', @1 = N'issues', @2 = N'button_download', @3 = 1, @4 = 0, @5 = 0, @6 = 1010 [["action", "download"], ["controller", "issues"], ["description", "button_download"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1010]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'add_issue', @1 = N'projects', @2 = N'button_add', @3 = 0, @4 = 1, @5 = 1, @6 = 1050 [["action", "add_issue"], ["controller", "projects"], ["description", "button_add"], ["is_public", false], ["mail_enabled", true], ["mail_option", true], ["sort", 1050]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'edit', @1 = N'issues', @2 = N'button_edit', @3 = 0, @4 = 0, @5 = 0, @6 = 1055 [["action", "edit"], ["controller", "issues"], ["description", "button_edit"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1055]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'change_status', @1 = N'issues', @2 = N'label_change_status', @3 = 0, @4 = 1, @5 = 1, @6 = 1060 [["action", "change_status"], ["controller", "issues"], ["description", "label_change_status"], ["is_public", false], ["mail_enabled", true], ["mail_option", true], ["sort", 1060]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'destroy', @1 = N'issues', @2 = N'button_delete', @3 = 0, @4 = 0, @5 = 0, @6 = 1065 [["action", "destroy"], ["controller", "issues"], ["description", "button_delete"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1065]] SQL (15.6ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'add_attachment', @1 = N'issues', @2 = N'label_attachment_new', @3 = 0, @4 = 0, @5 = 0, @6 = 1070 [["action", "add_attachment"], ["controller", "issues"], ["description", "label_attachment_new"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1070]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'destroy_attachment', @1 = N'issues', @2 = N'label_attachment_delete', @3 = 0, @4 = 0, @5 = 0, @6 = 1075 [["action", "destroy_attachment"], ["controller", "issues"], ["description", "label_attachment_delete"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1075]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'list_news', @1 = N'projects', @2 = N'button_list', @3 = 1, @4 = 0, @5 = 0, @6 = 1100 [["action", "list_news"], ["controller", "projects"], ["description", "button_list"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1100]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'show', @1 = N'news', @2 = N'button_view', @3 = 1, @4 = 0, @5 = 0, @6 = 1101 [["action", "show"], ["controller", "news"], ["description", "button_view"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1101]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'add_news', @1 = N'projects', @2 = N'button_add', @3 = 0, @4 = 0, @5 = 0, @6 = 1120 [["action", "add_news"], ["controller", "projects"], ["description", "button_add"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1120]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'edit', @1 = N'news', @2 = N'button_edit', @3 = 0, @4 = 0, @5 = 0, @6 = 1121 [["action", "edit"], ["controller", "news"], ["description", "button_edit"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1121]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'destroy', @1 = N'news', @2 = N'button_delete', @3 = 0, @4 = 0, @5 = 0, @6 = 1122 [["action", "destroy"], ["controller", "news"], ["description", "button_delete"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1122]] SQL (15.6ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'list_documents', @1 = N'projects', @2 = N'button_list', @3 = 1, @4 = 0, @5 = 0, @6 = 1200 [["action", "list_documents"], ["controller", "projects"], ["description", "button_list"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1200]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'show', @1 = N'documents', @2 = N'button_view', @3 = 1, @4 = 0, @5 = 0, @6 = 1201 [["action", "show"], ["controller", "documents"], ["description", "button_view"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1201]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'download', @1 = N'documents', @2 = N'button_download', @3 = 1, @4 = 0, @5 = 0, @6 = 1202 [["action", "download"], ["controller", "documents"], ["description", "button_download"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1202]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'add_document', @1 = N'projects', @2 = N'button_add', @3 = 0, @4 = 0, @5 = 0, @6 = 1220 [["action", "add_document"], ["controller", "projects"], ["description", "button_add"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1220]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'edit', @1 = N'documents', @2 = N'button_edit', @3 = 0, @4 = 0, @5 = 0, @6 = 1221 [["action", "edit"], ["controller", "documents"], ["description", "button_edit"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1221]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'destroy', @1 = N'documents', @2 = N'button_delete', @3 = 0, @4 = 0, @5 = 0, @6 = 1222 [["action", "destroy"], ["controller", "documents"], ["description", "button_delete"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1222]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'add_attachment', @1 = N'documents', @2 = N'label_attachment_new', @3 = 0, @4 = 0, @5 = 0, @6 = 1223 [["action", "add_attachment"], ["controller", "documents"], ["description", "label_attachment_new"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1223]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'destroy_attachment', @1 = N'documents', @2 = N'label_attachment_delete', @3 = 0, @4 = 0, @5 = 0, @6 = 1224 [["action", "destroy_attachment"], ["controller", "documents"], ["description", "label_attachment_delete"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1224]] SQL (15.6ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'list_files', @1 = N'projects', @2 = N'button_list', @3 = 1, @4 = 0, @5 = 0, @6 = 1300 [["action", "list_files"], ["controller", "projects"], ["description", "button_list"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1300]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'download', @1 = N'versions', @2 = N'button_download', @3 = 1, @4 = 0, @5 = 0, @6 = 1301 [["action", "download"], ["controller", "versions"], ["description", "button_download"], ["is_public", true], ["mail_enabled", false], ["mail_option", false], ["sort", 1301]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'add_file', @1 = N'projects', @2 = N'button_add', @3 = 0, @4 = 0, @5 = 0, @6 = 1320 [["action", "add_file"], ["controller", "projects"], ["description", "button_add"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1320]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'destroy_file', @1 = N'versions', @2 = N'button_delete', @3 = 0, @4 = 0, @5 = 0, @6 = 1322 [["action", "destroy_file"], ["controller", "versions"], ["description", "button_delete"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1322]] SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [users] ([admin], [auth_source_id], [created_on], [firstname], [hashed_password], [language], [last_login_on], [lastname], [login], [mail], [mail_notification], [status], [updated_on]) VALUES (@0, @1, @2, @3, @4, @5, @6, @7, @8, @9, @10, @11, @12); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 bit, @1 int, @2 datetime, @3 nvarchar(30), @4 nvarchar(40), @5 nvarchar(2), @6 datetime, @7 nvarchar(30), @8 nvarchar(30), @9 nvarchar(60), @10 bit, @11 int, @12 datetime', @0 = 1, @1 = NULL, @2 = '2013-06-03T10:54:08.474', @3 = N'Redmine', @4 = N'd033e22ae348aeb5660fc2140aec35850c4da997', @5 = N'', @6 = NULL, @7 = N'Admin', @8 = N'admin', @9 = N'admin@example.net', @10 = 1, @11 = 1, @12 = '2013-06-03T10:54:08.474' [["admin", true], ["auth_source_id", nil], ["created_on", Mon, 03 Jun 2013 14:54:08 UTC +00:00], ["firstname", "Redmine"], ["hashed_password", "d033e22ae348aeb5660fc2140aec35850c4da997"], ["language", ""], ["last_login_on", nil], ["lastname", "Admin"], ["login", "admin"], ["mail", "admin@example.net"], ["mail_notification", true], ["status", 1], ["updated_on", Mon, 03 Jun 2013 14:54:08 UTC +00:00]]  (0.0ms) EXEC sp_executesql N'INSERT INTO [schema_migrations] ([version]) VALUES (N''1''); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident'  (0.0ms) EXEC sp_executesql N'SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident' SQL (15.6ms) COMMIT TRANSACTION Migrating to IssueMove (2) SQL (0.0ms) BEGIN TRANSACTION SQL (0.0ms) EXEC sp_executesql N'INSERT INTO [permissions] ([action], [controller], [description], [is_public], [mail_enabled], [mail_option], [sort]) VALUES (@0, @1, @2, @3, @4, @5, @6); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(30), @1 nvarchar(30), @2 nvarchar(60), @3 bit, @4 bit, @5 bit, @6 int', @0 = N'move_issues', @1 = N'projects', @2 = N'button_move', @3 = 0, @4 = 0, @5 = 0, @6 = 1061 [["action", "move_issues"], ["controller", "projects"], ["description", "button_move"], ["is_public", false], ["mail_enabled", false], ["mail_option", false], ["sort", 1061]]  (0.0ms) EXEC sp_executesql N'INSERT INTO [schema_migrations] ([version]) VALUES (N''2''); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident'  (0.0ms) EXEC sp_executesql N'SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident' SQL (0.0ms) COMMIT TRANSACTION  (0.0ms) SELECT [schema_migrations].[version] FROM [schema_migrations]  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''attachments'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''auth_sources'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''custom_fields'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''custom_fields_projects'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''custom_fields_trackers'''  (15.6ms) EXEC sp_executesql N'EXEC sp_helpindex N''custom_values'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''documents'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''enumerations'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''issue_categories'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''issue_histories'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''issue_statuses'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''issues'''  (15.6ms) EXEC sp_executesql N'EXEC sp_helpindex N''members'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''news'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''permissions'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''permissions_roles'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''projects'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''roles'''  (31.2ms) EXEC sp_executesql N'EXEC sp_helpindex N''tokens'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''trackers'''  (15.6ms) EXEC sp_executesql N'EXEC sp_helpindex N''users'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''versions'''  (0.0ms) EXEC sp_executesql N'EXEC sp_helpindex N''workflows''' Connecting to database specified by database.yml SQL (0.0ms) USE [NanoMINE_development] OpenIdAuthentication.store is nil. Using in-memory store. Role Exists (0.0ms) EXEC sp_executesql N'SELECT TOP (1) 1 AS one FROM [roles] WHERE [roles].[builtin] = 0' TinyTds::Error: Invalid column name 'builtin'.: EXEC sp_executesql N'SELECT TOP (1) 1 AS one FROM [roles] WHERE [roles].[builtin] = 0'