Sha256: 9c93f4cc93bb62f90f48bf584960a9c1682ff602ecfa17e682c72bb075236f29

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

class CreateSectionNodes < ActiveRecord::Migration
  def self.up
    create_table :section_nodes do |t|
      t.integer :section_id
      t.string :node_type
      t.integer :node_id
      t.integer :position

      t.timestamps
    end
  end

  def self.down
    drop_table :section_nodes
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nate-browsercms-3.0.210 db/migrate/20081020152051_create_section_nodes.rb
nate-browsercms-3.0.211 db/migrate/20081020152051_create_section_nodes.rb