Sha256: 764ac0805271cc36e860d0b6eea86785fd9bade9c02acf9c3d578c62721fd4d7

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

class CleoTable < ActiveRecord::Migration
  def up
    create_table :cleo_references , :force => true do |t|
      t.timestamps
      t.string :record_type
      t.integer :cleo_id
      t.integer :record_id
    end
  end

  def self.down
    drop_table :cleo_references
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_cleo-0.0.3 test/db/migrate/007_cleo_table.rb