source: ruby/branches/0.5/db/migrate/20090824070828_create_encodings.rb@ 225

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

implementing terminology services

File size: 231 bytes
Line 
1class CreateEncodings < ActiveRecord::Migration
2 def self.up
3 create_table :encodings do |t|
4 t.string :name
5 t.integer :mibenum
6 t.text :source
7 end
8 end
9
10 def self.down
11 drop_table :encodings
12 end
13end
Note: See TracBrowser for help on using the repository browser.