source: ruby/trunk/terminology/db/migrate/20090725052538_create_terminologies.rb@ 164

Last change on this file since 164 was 164, checked in by KOBAYASHI, Shinji, 15 years ago

simple terminology commit

File size: 353 bytes
Line 
1class CreateTerminologies < ActiveRecord::Migration
2 def self.up
3 create_table :terminologies do |t|
4 t.integer :id
5 t.string :code
6 t.string :name
7 t.string :lang
8 t.text :group
9 t.string :rubric
10 t.text :description
11 t.string :mappings
12 end
13 end
14
15 def self.down
16 drop_table :terminologies
17 end
18end
Note: See TracBrowser for help on using the repository browser.