Defect #23586 ยป key_too_long_fix.patch
| /opt/redmine-3.4.4/db/migrate/001_setup.rb 2018-01-11 17:49:27.117905131 +0200 | ||
|---|---|---|
|
class Permission < ActiveRecord::Base; end
|
||
|
def self.up
|
||
|
create_table "attachments", :force => true do |t|
|
||
|
create_table "attachments", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "container_id", :integer, :default => 0, :null => false
|
||
|
t.column "container_type", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "filename", :string, :default => "", :null => false
|
||
| ... | ... | |
|
t.column "created_on", :timestamp
|
||
|
end
|
||
|
create_table "auth_sources", :force => true do |t|
|
||
|
create_table "auth_sources", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "type", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "name", :string, :limit => 60, :default => "", :null => false
|
||
|
t.column "host", :string, :limit => 60
|
||
| ... | ... | |
|
t.column "onthefly_register", :boolean, :default => false, :null => false
|
||
|
end
|
||
|
create_table "custom_fields", :force => true do |t|
|
||
|
create_table "custom_fields", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "type", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "field_format", :string, :limit => 30, :default => "", :null => false
|
||
| ... | ... | |
|
t.column "is_for_all", :boolean, :default => false, :null => false
|
||
|
end
|
||
|
create_table "custom_fields_projects", :id => false, :force => true do |t|
|
||
|
create_table "custom_fields_projects", :id => false, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "custom_field_id", :integer, :default => 0, :null => false
|
||
|
t.column "project_id", :integer, :default => 0, :null => false
|
||
|
end
|
||
|
create_table "custom_fields_trackers", :id => false, :force => true do |t|
|
||
|
create_table "custom_fields_trackers", :id => false, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "custom_field_id", :integer, :default => 0, :null => false
|
||
|
t.column "tracker_id", :integer, :default => 0, :null => false
|
||
|
end
|
||
|
create_table "custom_values", :force => true do |t|
|
||
|
create_table "custom_values", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "customized_type", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "customized_id", :integer, :default => 0, :null => false
|
||
|
t.column "custom_field_id", :integer, :default => 0, :null => false
|
||
|
t.column "value", :text
|
||
|
end
|
||
|
create_table "documents", :force => true do |t|
|
||
|
create_table "documents", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "project_id", :integer, :default => 0, :null => false
|
||
|
t.column "category_id", :integer, :default => 0, :null => false
|
||
|
t.column "title", :string, :limit => 60, :default => "", :null => false
|
||
| ... | ... | |
|
add_index "documents", ["project_id"], :name => "documents_project_id"
|
||
|
create_table "enumerations", :force => true do |t|
|
||
|
create_table "enumerations", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "opt", :string, :limit => 4, :default => "", :null => false
|
||
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||
|
end
|
||
|
create_table "issue_categories", :force => true do |t|
|
||
|
create_table "issue_categories", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "project_id", :integer, :default => 0, :null => false
|
||
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||
|
end
|
||
|
add_index "issue_categories", ["project_id"], :name => "issue_categories_project_id"
|
||
|
create_table "issue_histories", :force => true do |t|
|
||
|
create_table "issue_histories", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "issue_id", :integer, :default => 0, :null => false
|
||
|
t.column "status_id", :integer, :default => 0, :null => false
|
||
|
t.column "author_id", :integer, :default => 0, :null => false
|
||
| ... | ... | |
|
add_index "issue_histories", ["issue_id"], :name => "issue_histories_issue_id"
|
||
|
create_table "issue_statuses", :force => true do |t|
|
||
|
create_table "issue_statuses", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "is_closed", :boolean, :default => false, :null => false
|
||
|
t.column "is_default", :boolean, :default => false, :null => false
|
||
|
t.column "html_color", :string, :limit => 6, :default => "FFFFFF", :null => false
|
||
|
end
|
||
|
create_table "issues", :force => true do |t|
|
||
|
create_table "issues", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "tracker_id", :integer, :default => 0, :null => false
|
||
|
t.column "project_id", :integer, :default => 0, :null => false
|
||
|
t.column "subject", :string, :default => "", :null => false
|
||
| ... | ... | |
|
add_index "issues", ["project_id"], :name => "issues_project_id"
|
||
|
create_table "members", :force => true do |t|
|
||
|
create_table "members", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "user_id", :integer, :default => 0, :null => false
|
||
|
t.column "project_id", :integer, :default => 0, :null => false
|
||
|
t.column "role_id", :integer, :default => 0, :null => false
|
||
|
t.column "created_on", :timestamp
|
||
|
end
|
||
|
create_table "news", :force => true do |t|
|
||
|
create_table "news", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "project_id", :integer
|
||
|
t.column "title", :string, :limit => 60, :default => "", :null => false
|
||
|
t.column "summary", :string, :limit => 255, :default => ""
|
||
| ... | ... | |
|
add_index "news", ["project_id"], :name => "news_project_id"
|
||
|
create_table "permissions", :force => true do |t|
|
||
|
create_table "permissions", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "controller", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "action", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "description", :string, :limit => 60, :default => "", :null => false
|
||
| ... | ... | |
|
t.column "mail_enabled", :boolean, :default => false, :null => false
|
||
|
end
|
||
|
create_table "permissions_roles", :id => false, :force => true do |t|
|
||
|
create_table "permissions_roles", :id => false, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "permission_id", :integer, :default => 0, :null => false
|
||
|
t.column "role_id", :integer, :default => 0, :null => false
|
||
|
end
|
||
|
add_index "permissions_roles", ["role_id"], :name => "permissions_roles_role_id"
|
||
|
create_table "projects", :force => true do |t|
|
||
|
create_table "projects", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "description", :string, :default => "", :null => false
|
||
|
t.column "homepage", :string, :limit => 60, :default => ""
|
||
| ... | ... | |
|
t.column "updated_on", :timestamp
|
||
|
end
|
||
|
create_table "roles", :force => true do |t|
|
||
|
create_table "roles", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||
|
end
|
||
|
create_table "tokens", :force => true do |t|
|
||
|
create_table "tokens", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "user_id", :integer, :default => 0, :null => false
|
||
|
t.column "action", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "value", :string, :limit => 40, :default => "", :null => false
|
||
|
t.column "created_on", :datetime, :null => false
|
||
|
end
|
||
|
create_table "trackers", :force => true do |t|
|
||
|
create_table "trackers", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "is_in_chlog", :boolean, :default => false, :null => false
|
||
|
end
|
||
|
create_table "users", :force => true do |t|
|
||
|
create_table "users", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "login", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "hashed_password", :string, :limit => 40, :default => "", :null => false
|
||
|
t.column "firstname", :string, :limit => 30, :default => "", :null => false
|
||
| ... | ... | |
|
t.column "updated_on", :timestamp
|
||
|
end
|
||
|
create_table "versions", :force => true do |t|
|
||
|
create_table "versions", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "project_id", :integer, :default => 0, :null => false
|
||
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "description", :string, :default => ""
|
||
| ... | ... | |
|
add_index "versions", ["project_id"], :name => "versions_project_id"
|
||
|
create_table "workflows", :force => true do |t|
|
||
|
create_table "workflows", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "tracker_id", :integer, :default => 0, :null => false
|
||
|
t.column "old_status_id", :integer, :default => 0, :null => false
|
||
|
t.column "new_status_id", :integer, :default => 0, :null => false
|
||
| /opt/redmine-3.4.4/db/migrate/007_create_journals.rb 2018-01-11 17:50:10.549801852 +0200 | ||
|---|---|---|
|
class Permission < ActiveRecord::Base; end
|
||
|
def self.up
|
||
|
create_table :journals, :force => true do |t|
|
||
|
create_table :journals, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "journalized_id", :integer, :default => 0, :null => false
|
||
|
t.column "journalized_type", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "user_id", :integer, :default => 0, :null => false
|
||
|
t.column "notes", :text
|
||
|
t.column "created_on", :datetime, :null => false
|
||
|
end
|
||
|
create_table :journal_details, :force => true do |t|
|
||
|
create_table :journal_details, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "journal_id", :integer, :default => 0, :null => false
|
||
|
t.column "property", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "prop_key", :string, :limit => 30, :default => "", :null => false
|
||
| ... | ... | |
|
drop_table :journal_details
|
||
|
drop_table :journals
|
||
|
create_table "issue_histories", :force => true do |t|
|
||
|
create_table "issue_histories", :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "issue_id", :integer, :default => 0, :null => false
|
||
|
t.column "status_id", :integer, :default => 0, :null => false
|
||
|
t.column "author_id", :integer, :default => 0, :null => false
|
||
| /opt/redmine-3.4.4/db/migrate/008_create_user_preferences.rb 2018-01-11 17:50:34.142165359 +0200 | ||
|---|---|---|
|
class CreateUserPreferences < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :user_preferences do |t|
|
||
|
create_table :user_preferences , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "user_id", :integer, :default => 0, :null => false
|
||
|
t.column "others", :text
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/010_create_comments.rb 2018-01-11 17:50:57.829558327 +0200 | ||
|---|---|---|
|
class CreateComments < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :comments do |t|
|
||
|
create_table :comments , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :commented_type, :string, :limit => 30, :default => "", :null => false
|
||
|
t.column :commented_id, :integer, :default => 0, :null => false
|
||
|
t.column :author_id, :integer, :default => 0, :null => false
|
||
| /opt/redmine-3.4.4/db/migrate/013_create_queries.rb 2018-01-11 17:51:17.734234477 +0200 | ||
|---|---|---|
|
class CreateQueries < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :queries, :force => true do |t|
|
||
|
create_table :queries, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "project_id", :integer
|
||
|
t.column "name", :string, :default => "", :null => false
|
||
|
t.column "filters", :text
|
||
| /opt/redmine-3.4.4/db/migrate/015_create_repositories.rb 2018-01-11 17:51:36.142032676 +0200 | ||
|---|---|---|
|
class CreateRepositories < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :repositories, :force => true do |t|
|
||
|
create_table :repositories, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "project_id", :integer, :default => 0, :null => false
|
||
|
t.column "url", :string, :default => "", :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/017_create_settings.rb 2018-01-11 17:52:12.109741473 +0200 | ||
|---|---|---|
|
class CreateSettings < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :settings, :force => true do |t|
|
||
|
create_table :settings, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||
|
t.column "value", :text
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/027_create_wikis.rb 2018-01-11 17:52:26.581842182 +0200 | ||
|---|---|---|
|
class CreateWikis < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :wikis do |t|
|
||
|
create_table :wikis , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :project_id, :integer, :null => false
|
||
|
t.column :start_page, :string, :limit => 255, :null => false
|
||
|
t.column :status, :integer, :default => 1, :null => false
|
||
| /opt/redmine-3.4.4/db/migrate/028_create_wiki_pages.rb 2018-01-11 17:42:23.625521133 +0200 | ||
|---|---|---|
|
class CreateWikiPages < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :wiki_pages do |t|
|
||
|
create_table :wiki_pages , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :wiki_id, :integer, :null => false
|
||
|
t.column :title, :string, :limit => 255, :null => false
|
||
|
t.column :created_on, :datetime, :null => false
|
||
| /opt/redmine-3.4.4/db/migrate/029_create_wiki_contents.rb 2018-01-11 17:52:48.165523804 +0200 | ||
|---|---|---|
|
class CreateWikiContents < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :wiki_contents do |t|
|
||
|
create_table :wiki_contents , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :page_id, :integer, :null => false
|
||
|
t.column :author_id, :integer
|
||
|
t.column :text, :text
|
||
| ... | ... | |
|
end
|
||
|
add_index :wiki_contents, :page_id, :name => :wiki_contents_page_id
|
||
|
create_table :wiki_content_versions do |t|
|
||
|
create_table :wiki_content_versions , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :wiki_content_id, :integer, :null => false
|
||
|
t.column :page_id, :integer, :null => false
|
||
|
t.column :author_id, :integer
|
||
| /opt/redmine-3.4.4/db/migrate/032_create_time_entries.rb 2018-01-11 17:53:08.854285173 +0200 | ||
|---|---|---|
|
class CreateTimeEntries < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :time_entries do |t|
|
||
|
create_table :time_entries , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :project_id, :integer, :null => false
|
||
|
t.column :user_id, :integer, :null => false
|
||
|
t.column :issue_id, :integer
|
||
| /opt/redmine-3.4.4/db/migrate/034_create_changesets.rb 2018-01-11 17:53:22.646473832 +0200 | ||
|---|---|---|
|
class CreateChangesets < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :changesets do |t|
|
||
|
create_table :changesets , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :repository_id, :integer, :null => false
|
||
|
t.column :revision, :integer, :null => false
|
||
|
t.column :committer, :string, :limit => 30
|
||
| /opt/redmine-3.4.4/db/migrate/035_create_changes.rb 2018-01-11 17:53:37.030638899 +0200 | ||
|---|---|---|
|
class CreateChanges < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :changes do |t|
|
||
|
create_table :changes , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :changeset_id, :integer, :null => false
|
||
|
t.column :action, :string, :limit => 1, :default => "", :null => false
|
||
|
t.column :path, :string, :default => "", :null => false
|
||
| /opt/redmine-3.4.4/db/migrate/039_create_watchers.rb 2018-01-11 17:53:51.454812222 +0200 | ||
|---|---|---|
|
class CreateWatchers < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :watchers do |t|
|
||
|
create_table :watchers , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :watchable_type, :string, :default => "", :null => false
|
||
|
t.column :watchable_id, :integer, :default => 0, :null => false
|
||
|
t.column :user_id, :integer
|
||
| /opt/redmine-3.4.4/db/migrate/040_create_changesets_issues.rb 2018-01-11 17:54:07.055932612 +0200 | ||
|---|---|---|
|
class CreateChangesetsIssues < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :changesets_issues, :id => false do |t|
|
||
|
create_table :changesets_issues, :id => false , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :changeset_id, :integer, :null => false
|
||
|
t.column :issue_id, :integer, :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/042_create_issue_relations.rb 2018-01-11 17:54:20.240200302 +0200 | ||
|---|---|---|
|
class CreateIssueRelations < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :issue_relations do |t|
|
||
|
create_table :issue_relations , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :issue_from_id, :integer, :null => false
|
||
|
t.column :issue_to_id, :integer, :null => false
|
||
|
t.column :relation_type, :string, :default => "", :null => false
|
||
| /opt/redmine-3.4.4/db/migrate/045_create_boards.rb 2018-01-11 17:54:53.423400368 +0200 | ||
|---|---|---|
|
class CreateBoards < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :boards do |t|
|
||
|
create_table :boards , options: ' ROW_FORMAT=DYNAMIC ' , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :project_id, :integer, :null => false
|
||
|
t.column :name, :string, :default => "", :null => false
|
||
|
t.column :description, :string
|
||
| /opt/redmine-3.4.4/db/migrate/046_create_messages.rb 2018-01-11 17:55:11.392450769 +0200 | ||
|---|---|---|
|
class CreateMessages < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :messages do |t|
|
||
|
create_table :messages , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :board_id, :integer, :null => false
|
||
|
t.column :parent_id, :integer
|
||
|
t.column :subject, :string, :default => "", :null => false
|
||
| /opt/redmine-3.4.4/db/migrate/067_create_wiki_redirects.rb 2018-01-11 17:44:33.926034005 +0200 | ||
|---|---|---|
|
class CreateWikiRedirects < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :wiki_redirects do |t|
|
||
|
create_table :wiki_redirects , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :wiki_id, :integer, :null => false
|
||
|
t.column :title, :string
|
||
|
t.column :redirects_to, :string
|
||
| /opt/redmine-3.4.4/db/migrate/068_create_enabled_modules.rb 2018-01-11 17:55:27.120634437 +0200 | ||
|---|---|---|
|
class CreateEnabledModules < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :enabled_modules do |t|
|
||
|
create_table :enabled_modules , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :project_id, :integer
|
||
|
t.column :name, :string, :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/081_create_projects_trackers.rb 2018-01-11 17:55:44.600742033 +0200 | ||
|---|---|---|
|
class CreateProjectsTrackers < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :projects_trackers, :id => false do |t|
|
||
|
create_table :projects_trackers, :id => false , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :project_id, :integer, :default => 0, :null => false
|
||
|
t.column :tracker_id, :integer, :default => 0, :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/107_add_open_id_authentication_tables.rb 2018-01-11 17:56:05.393703042 +0200 | ||
|---|---|---|
|
class AddOpenIdAuthenticationTables < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :open_id_authentication_associations, :force => true do |t|
|
||
|
create_table :open_id_authentication_associations, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.integer :issued, :lifetime
|
||
|
t.string :handle, :assoc_type
|
||
|
t.binary :server_url, :secret
|
||
|
end
|
||
|
create_table :open_id_authentication_nonces, :force => true do |t|
|
||
|
create_table :open_id_authentication_nonces, :force => true , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.integer :timestamp, :null => false
|
||
|
t.string :server_url, :null => true
|
||
|
t.string :salt, :null => false
|
||
| /opt/redmine-3.4.4/db/migrate/20090503121501_create_member_roles.rb 2018-01-11 17:56:32.081403790 +0200 | ||
|---|---|---|
|
class CreateMemberRoles < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :member_roles do |t|
|
||
|
create_table :member_roles , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :member_id, :integer, :null => false
|
||
|
t.column :role_id, :integer, :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/20090704172355_create_groups_users.rb 2018-01-11 17:58:15.283723759 +0200 | ||
|---|---|---|
|
class CreateGroupsUsers < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :groups_users, :id => false do |t|
|
||
|
create_table :groups_users, :id => false , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :group_id, :integer, :null => false
|
||
|
t.column :user_id, :integer, :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/20110902000000_create_changeset_parents.rb 2018-01-11 17:58:29.445123537 +0200 | ||
|---|---|---|
|
class CreateChangesetParents < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :changeset_parents, :id => false do |t|
|
||
|
create_table :changeset_parents, :id => false , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :changeset_id, :integer, :null => false
|
||
|
t.column :parent_id, :integer, :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/20130602092539_create_queries_roles.rb 2018-01-11 17:58:43.004559245 +0200 | ||
|---|---|---|
|
class CreateQueriesRoles < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :queries_roles, :id => false do |t|
|
||
|
create_table :queries_roles, :id => false , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :query_id, :integer, :null => false
|
||
|
t.column :role_id, :integer, :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/20130713104233_create_custom_fields_roles.rb 2018-01-11 17:58:57.900562776 +0200 | ||
|---|---|---|
|
class CreateCustomFieldsRoles < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :custom_fields_roles, :id => false do |t|
|
||
|
create_table :custom_fields_roles, :id => false , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :custom_field_id, :integer, :null => false
|
||
|
t.column :role_id, :integer, :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/20150113194759_create_email_addresses.rb 2018-01-11 17:59:13.061216736 +0200 | ||
|---|---|---|
|
class CreateEmailAddresses < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :email_addresses do |t|
|
||
|
create_table :email_addresses , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.column :user_id, :integer, :null => false
|
||
|
t.column :address, :string, :null => false
|
||
|
t.column :is_default, :boolean, :null => false, :default => false
|
||
| /opt/redmine-3.4.4/db/migrate/20150528092912_create_roles_managed_roles.rb 2018-01-11 17:59:27.812922020 +0200 | ||
|---|---|---|
|
class CreateRolesManagedRoles < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :roles_managed_roles, :id => false do |t|
|
||
|
create_table :roles_managed_roles, :id => false , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.integer :role_id, :null => false
|
||
|
t.integer :managed_role_id, :null => false
|
||
|
end
|
||
| /opt/redmine-3.4.4/db/migrate/20150730122707_create_imports.rb 2018-01-11 17:59:42.284666799 +0200 | ||
|---|---|---|
|
class CreateImports < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :imports do |t|
|
||
|
create_table :imports , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.string :type
|
||
|
t.integer :user_id, :null => false
|
||
|
t.string :filename
|
||
| /opt/redmine-3.4.4/db/migrate/20150730122735_create_import_items.rb 2018-01-11 18:00:00.740088535 +0200 | ||
|---|---|---|
|
class CreateImportItems < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :import_items do |t|
|
||
|
create_table :import_items , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.integer :import_id, :null => false
|
||
|
t.integer :position, :null => false
|
||
|
t.integer :obj_id
|
||
| /opt/redmine-3.4.4/db/migrate/20151025072118_create_custom_field_enumerations.rb 2018-01-11 18:00:15.731822744 +0200 | ||
|---|---|---|
|
class CreateCustomFieldEnumerations < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :custom_field_enumerations do |t|
|
||
|
create_table :custom_field_enumerations , options: ' ROW_FORMAT=DYNAMIC ' do |t|
|
||
|
t.integer :custom_field_id, :null => false
|
||
|
t.string :name, :null => false
|
||
|
t.boolean :active, :default => true, :null => false
|
||