1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

DEPRECATION WARNING: db/migrate/001_setup.rb (#19132).

mail_notification is a boolean column when this migration runs.

git-svn-id: http://svn.redmine.org/redmine/trunk@14032 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-02-19 17:37:34 +00:00
parent 2277f61046
commit d750c9906e

View File

@ -291,7 +291,7 @@ class Setup < ActiveRecord::Migration
user = User.new :firstname => "Redmine",
:lastname => "Admin",
:mail => "admin@example.net",
:mail_notification => 'all',
:mail_notification => true,
:status => 1
user.login = 'admin'
user.hashed_password = "d033e22ae348aeb5660fc2140aec35850c4da997"