source:
ruby/branches/0.5/db/migrate/20090824070828_create_encodings.rb@
267
Last change on this file since 267 was 225, checked in by , 15 years ago | |
---|---|
File size: 231 bytes |
Rev | Line | |
---|---|---|
[225] | 1 | class 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 | |
13 | end |
Note:
See TracBrowser
for help on using the repository browser.