Adding a (probably very temporary) table for module reporting maintence. Don't count on it being there for long.
git-svn-id: file:///home/svn/framework3/trunk@13805 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
d1a0a66a9d
commit
ec557d4176
|
@ -0,0 +1,17 @@
|
||||||
|
# Probably temporary, a spot to stash module names and their associated refs
|
||||||
|
# Don't count on it being populated at any given moment.
|
||||||
|
class AddModRefTable < ActiveRecord::Migration
|
||||||
|
|
||||||
|
def self.up
|
||||||
|
create_table :mod_refs do |t|
|
||||||
|
t.string :module, :limit => 1024
|
||||||
|
t.string :mtype, :limit => 128
|
||||||
|
t.text :ref
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def self.down
|
||||||
|
drop_table :mod_refs
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
Loading…
Reference in New Issue