redmine_glossary/db/migrate/001_create_glossary_terms.rb
2020-01-02 19:39:19 +09:00

11 lines
220 B
Ruby

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