Last change
on this file since 283 was 164, checked in by KOBAYASHI, Shinji, 15 years ago |
simple terminology commit
|
File size:
353 bytes
|
Rev | Line | |
---|
[164] | 1 | class 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
|
---|
| 18 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.