1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

MustPurchase='TRUE'

Discussion in 'Mod Creation Help' started by xsr, Mar 5, 2018.

  1. xsr

    xsr Chieftain

    Joined:
    Dec 31, 2016
    Messages:
    12
    Gender:
    Male
    [ SOLVED ] [ Sorry again, thank you to Leugi for the post on sql format, i.e. I needed to use 1 or 0 to represent true and false. ]

    I tried e.g.

    UPDATE Units SET MustPurchase='TRUE' WHERE UnitType='UNIT_TRADER';

    Error message:

    ERROR: CHECK constraint failed: Units
    ( x2 )
     
    Last edited: Mar 5, 2018

Share This Page