Sha256: 592f9908f9f0fcee36b95c05df40a32ee46982c4085949fbe45839bf0c5e48ed

Contents?: true

Size: 236 Bytes

Versions: 13

Compression:

Stored size: 236 Bytes

Contents

class AddDefaultTrueColumnToSimple < ActiveRecord::Migration[5.2]
  def up
    add_column :gemini_simples, :default_true, :boolean, null: false, default: true
  end

  def down
    remove_column :gemini_simples, :default_true
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
marty-14.3.0 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-14.0.0 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-13.0.2 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-11.0.0 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-10.0.3 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-10.0.2 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-10.0.0 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-9.5.1 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-9.5.0 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-9.3.3 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-9.3.2 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-9.3.0 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb
marty-8.5.0 spec/dummy/db/migrate/20191206132729_add_default_true_column_to_simple.rb