source:
ruby/branches/0.5/db/migrate/20090824070846_create_encoding_aliases.rb@
252
Last change on this file since 252 was 225, checked in by , 15 years ago | |
---|---|
File size: 231 bytes |
Rev | Line | |
---|---|---|
[225] | 1 | class CreateEncodingAliases < ActiveRecord::Migration |
2 | def self.up | |
3 | create_table :encoding_aliases do |t| | |
4 | t.string :alias | |
5 | t.integer :mibenum | |
6 | end | |
7 | end | |
8 | ||
9 | def self.down | |
10 | drop_table :encoding_aliases | |
11 | end | |
12 | end |
Note:
See TracBrowser
for help on using the repository browser.