Class: AddModRefTable
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddModRefTable
- Defined in:
- db/migrate/20110928101300_add_mod_ref_table.rb
Overview
Probably temporary, a spot to stash module names and their associated refs Don't count on it being populated at any given moment.
Class Method Summary collapse
Class Method Details
.down ⇒ Object
13 14 15 |
# File 'db/migrate/20110928101300_add_mod_ref_table.rb', line 13 def self.down drop_table :mod_refs end |
.up ⇒ Object
5 6 7 8 9 10 11 |
# File 'db/migrate/20110928101300_add_mod_ref_table.rb', line 5 def self.up create_table :mod_refs do |t| t.string :module, :limit => 1024 t.string :mtype, :limit => 128 t.text :ref end end |