Sha256: 68e2ee6e4d2d7c15a425be1398588cf80a5dbd7eb9038982baf07e2d750af573

Contents?: true

Size: 193 Bytes

Versions: 1

Compression:

Stored size: 193 Bytes

Contents

class AddsPasswordProtectionToPosts < ActiveRecord::Migration
  def self.up
    add_column :contents, :password, :string
  end

  def self.down
    remove_column :contents, :password
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typo-5.5 db/migrate/091_adds_password_protection_to_posts.rb