Nuevo plugin Redmine Glossary 0.9.2
This commit is contained in:
parent
5d298a7529
commit
693eb3ee50
72 changed files with 2962 additions and 0 deletions
14
plugins/redmine_glossary/db/migrate/003_terms_add_columns.rb
Executable file
14
plugins/redmine_glossary/db/migrate/003_terms_add_columns.rb
Executable file
|
@ -0,0 +1,14 @@
|
|||
class TermsAddColumns < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :terms, :tech_en, :string, :default => ''
|
||||
add_column :terms, :name_cn, :string, :default => ''
|
||||
add_column :terms, :name_fr, :string, :default => ''
|
||||
end
|
||||
|
||||
|
||||
def self.down
|
||||
remove_column :terms, :tech_en
|
||||
remove_column :terms, :name_cn
|
||||
remove_column :terms, :name_fr
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue