source: ruby/trunk/db/migrate/20100702073455_create_languages.rb@ 415

Last change on this file since 415 was 415, checked in by KOBAYASHI, Shinji, 14 years ago

developing around terminology

File size: 259 bytes
Line 
1class CreateLanguages < ActiveRecord::Migration
2 def self.up
3 create_table :languages, :id => false do |t|
4 t.string :code, :null => false
5 t.string :description, :null => false
6 end
7 end
8
9 def self.down
10 drop_table :languages
11 end
12end
Note: See TracBrowser for help on using the repository browser.