source:
ruby/trunk/db/migrate/20100705070022_create_territories.rb@
420
Last change on this file since 420 was 420, checked in by , 14 years ago | |
---|---|
File size: 276 bytes |
Line | |
---|---|
1 | class CreateTerritories < ActiveRecord::Migration |
2 | def self.up |
3 | create_table :territories do |t| |
4 | t.string :text |
5 | t.string :three_letter |
6 | t.string :numeric_code |
7 | t.string :two_letter |
8 | end |
9 | end |
10 | |
11 | def self.down |
12 | drop_table :territories |
13 | end |
14 | end |
Note:
See TracBrowser
for help on using the repository browser.