Class: CreateDependentmods

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/six-updater-web/db/migrate/20100517174105_create_dependentmods.rb

Class Method Summary collapse

Class Method Details

.downObject



11
12
13
# File 'lib/six-updater-web/db/migrate/20100517174105_create_dependentmods.rb', line 11

def self.down
  drop_table :dependentmods
end

.upObject



2
3
4
5
6
7
8
9
# File 'lib/six-updater-web/db/migrate/20100517174105_create_dependentmods.rb', line 2

def self.up
  create_table :dependentmods do |t| # , :id => false
    t.string :mod_id, :limit => 36
    t.string :depmod_id, :limit => 36

    t.timestamps :lock_version => false
  end
end