redmine_glossary/db/migrate/001_create_glossary_terms.rb

11 lines
220 B
Ruby
Raw Normal View History

2018-04-30 15:28:18 +02:00
class CreateGlossaryTerms < ActiveRecord::Migration[5.1]
def change
create_table :glossary_terms do |t|
t.string :name, null: false
t.text :description
t.timestamps null: false
end
end
end