Nuevo plugin Redmine Glossary 0.9.2

This commit is contained in:
Manuel Cillero 2019-01-29 19:42:59 +01:00
parent 5d298a7529
commit 693eb3ee50
72 changed files with 2962 additions and 0 deletions

View file

@ -0,0 +1,24 @@
class CreateGlossaryStyles < ActiveRecord::Migration
def self.up
create_table :glossary_styles do |t|
t.column :show_desc, :boolean, :default => false
t.column :groupby, :integer, :default => 1
t.column :project_scope, :integer, :default => 0
t.column :sort_item_0, :string, :default => ''
t.column :sort_item_1, :string, :default => ''
t.column :sort_item_2, :string, :default => ''
t.column :user_id, :integer, :default => 0
end
add_column :terms, :rubi, :string, :default => ''
add_column :terms, :abbr_whole, :string, :default => ''
end
def self.down
drop_table :glossary_styles
remove_column :terms, :abbr_whole
remove_column :terms, :rubi
end
end