source: ruby/trunk/db/migrate/20100129010414_create_archetype_data.rb@ 415

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

developing around terminology

File size: 373 bytes
Line 
1class CreateArchetypeData < ActiveRecord::Migration
2 def self.up
3 create_table :archetype_data do |t|
4 t.string :oid
5 t.string :archetype_id
6 t.string :concept
7 t.string :path
8 t.string :text_data
9 t.integer :integer_data
10 t.float :real_data
11
12 t.timestamps
13 end
14 end
15
16 def self.down
17 drop_table :archetype_data
18 end
19end
Note: See TracBrowser for help on using the repository browser.