Project

General

Profile

Actions

Defect #20533

closed

DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`.

Added by Go MAEDA over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Rails support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I got the following warning while migrating database.
This is caused by a migration file 'db/migrate/20150730122707_create_imports.rb' which was added in r14493.

== 20150730122707 CreateImports: migrating ====================================
-- create_table(:imports)
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/maeda/redmines/redmine-trunk/db/migrate/20150730122707_create_imports.rb:10)
Actions #1

Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r14505, thanks.

Actions

Also available in: Atom PDF