source:
ruby/trunk/db/migrate/20090725052538_create_terminologies.rb
Last change on this file was 164, checked in by , 15 years ago | |
---|---|
File size: 353 bytes |
Line | |
---|---|
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.