Sha256: 3bb388ee9f1f4a784d6d42b2271561ec87b91f75c2461383cbd3d308a41355c2

Contents?: true

Size: 195 Bytes

Versions: 4

Compression:

Stored size: 195 Bytes

Contents

class AddContext < ActiveRecord::Migration
  def self.up
    add_column :repositories, :context, :string, :null => true
  end

  def self.down
    remove_column :repositories, :context
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
janky-0.13.0.pre1 lib/janky/database/migrate/1398262033_add_context.rb
janky-0.12.0 lib/janky/database/migrate/1398262033_add_context.rb
janky-0.11.1 lib/janky/database/migrate/1398262033_add_context.rb
janky-0.11.0 lib/janky/database/migrate/1398262033_add_context.rb