Sha256: 83290c33b151cf7a9b3d4fc115ad8bf3e57284dda33316694a1034919251c06c

Contents?: true

Size: 137 Bytes

Versions: 4

Compression:

Stored size: 137 Bytes

Contents

class AddColumnToComments < ActiveRecord::Migration
  def change
    add_column :comments, :approved, :boolean, default: :true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carnival-0.1.3 test/carnival-sample-application/db/migrate/20141008195345_add_column_to_comments.rb
carnival-0.1.2 test/carnival-sample-application/db/migrate/20141008195345_add_column_to_comments.rb
carnival-0.1.1 test/carnival-sample-application/db/migrate/20141008195345_add_column_to_comments.rb
carnival-0.1.0 test/carnival-sample-application/db/migrate/20141008195345_add_column_to_comments.rb