Last change
on this file since 404 was 404, checked in by KOBAYASHI, Shinji, 14 years ago |
first step to Capetown
|
File size:
372 bytes
|
Rev | Line | |
---|
[404] | 1 | class 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.real :real_data
|
---|
| 11 |
|
---|
| 12 | t.timestamps
|
---|
| 13 | end
|
---|
| 14 | end
|
---|
| 15 |
|
---|
| 16 | def self.down
|
---|
| 17 | drop_table :archetype_data
|
---|
| 18 | end
|
---|
| 19 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.