stfc2 / UI

User Interface
http://www.stfc.it
4 stars 5 forks source link

Field 'npc_last_action' doesn't have a default value #5

Closed kirirur closed 9 years ago

kirirur commented 9 years ago

New field npc_last_action of table ship_fleets does not have a default value, so SQL queries like this will fail:

INSERT INTO ship_fleets (fleet_name, user_id, planet_id, move_id, n_ships) VALUES ("Encouraging_hull2", 10, 1, 0, 100)

kirirur commented 9 years ago

This issue is now fixed in the Database repository starting from version v1.1.0 https://github.com/stfc2/Database/tree/v1.1.0.