Closed Bug 1182375 Opened 9 years ago Closed 9 years ago

unable to create a database from scratch: Unknown column 'secure_mail' in 'field list'

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

References

Details

Adding new table bz_schema...
Initializing bz_schema...
Creating tables...
Converting attach_data maximum size to 100G...
Setting up choices for standard drop-down fields:
   priority bug_status op_sys bug_severity rep_platform resolution
Creating ./data directory...
Creating ./data/SiteMapIndex directory...
Creating ./data/assets directory...
Creating ./data/attachments directory...
Creating ./data/db directory...
Creating ./data/extensions directory...
Creating ./data/mining directory...
Creating ./data/webdot directory...
Creating ./graphs directory...
Creating ./data/extensions/additional...
Creating ./data/mailer.testfile...
Initializing "Product/Component Changes" email_setting ...
Initializing "Dependency Tree Changes" email_setting ...
Marking closed bug statuses as such...
Adding new column 'default_op_sys_id' to the 'products' table...
Adding new column 'default_platform_id' to the 'products' table...
Adding new column 'cf_rank' to the 'bugs' table...
Adding new column 'cf_crash_signature' to the 'bugs' table...
Adding new column 'security_group_id' to the 'products' table...
DBD::mysql::db selectrow_hashref failed: Unknown column 'secure_mail' in 'field list' [for Statement "SELECT groups.id,groups.name,groups.description,groups.isbuggroup,groups.userregexp,groups.isactive,groups.icon_url,secure_mail FROM groups WHERE name = ?"] at Bugzilla/Object.pm line 169.

i suspect the migration code in bug 1173442 needs to check for an empty db and skip migration.
Assignee: nobody → glob
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   51689c0..65e910a  master -> master
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.