Sha256: 43474de64b5cd2be6fb3adff64f101a43f0a93645aceafba7edce82cdff224eb

Contents?: true

Size: 177 Bytes

Versions: 6

Compression:

Stored size: 177 Bytes

Contents

class AddPermalink < ActiveRecord::Migration
  def self.up
    add_column :articles, :permalink, :string
  end

  def self.down
    remove_column :articles, :permalink
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
also_migrate_nj-0.3.6 spec/db/migrate/002_add_permalink.rb
also_migrate-0.3.6 spec/db/migrate/002_add_permalink.rb
also_migrate-0.3.5 spec/db/migrate/002_add_permalink.rb
also_migrate-0.3.4 spec/db/migrate/002_add_permalink.rb
also_migrate-0.3.3 spec/db/migrate/002_add_permalink.rb
also_migrate-0.3.2 spec/db/migrate/002_add_permalink.rb