Sha256: 2bae0c4e4d012f53698016c1dbfbb89035cb50a6231c008bacb96f7c0cbf3d98

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

class AddUrlnamesTable < ActiveRecord::Migration # :nodoc: 

  def self.up
    create_table 'urlnames' do |t|
      t.column 'nameable_type',     :string
      t.column 'nameable_id',       :integer
      t.column 'name',              :string
    end
  end
  
  def self.down
    drop_table 'urlnames'
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
compages-0.4.0 vendor/plugins/acts_as_urlnameable/db/00x_add_urlnames_table.rb