HabitatMap/AirCasting

View on GitHub
db/migrate/20181113100336_add_null_true_to_timestamps.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddNullTrueToTimestamps < ActiveRecord::Migration[4.2]
  def change
    change_column :notes, :created_at, :datetime, null: true
    change_column :notes, :updated_at, :datetime, null: true

    change_column :sessions, :created_at, :datetime, null: true
    change_column :sessions, :updated_at, :datetime, null: true

    change_column :users, :created_at, :datetime, null: true
    change_column :users, :updated_at, :datetime, null: true
  end
end