uplink42/etmv2

Attempting to create a new user on a fresh install fails.

Opened this issue · 1 comments

The column is not in the schema file.

Unknown column 'ignore_buy_tax' in 'field list'

INSERT INTO user (username, registration_date, password, reports, email, salt, default_buy_behaviour, default_sell_behaviour, cross_character_profits, ignore_citadel_tax, ignore_station_tax, ignore_outpost_tax, ignore_buy_tax, ignore_sell_tax, login_count, updating) VALUES (....)

Filename: models/Register_model.php

Line Number: 199

This issue is related to the schema.sql be old need 2 new columns in user: ignore_buy_tax and ignore_sell_tax
Can be added manually:
ALTER TABLE user ADD ignore_buy_tax TINYINT NOT NULL DEFAULT '0';
ALTER TABLE user ADD ignore_sell_tax TINYINT NOT NULL DEFAULT '0';