Iconian
Chieftain
- Joined
- May 16, 2021
- Messages
- 73
I've been trying to give some buildings a defense stat that didn't have it originally, like so.
<Row>
<Type>BUILDING_KREPOST</Type>
<Defense>250</Defense>
</Row>
But this gave me a "column Type is not unique" in Database.log. I've been trying to figure out what I ought to change this to but I'm not finding anything on it.
[1722452.781] column Type is not unique
[1722452.781] While executing - 'insert into Buildings('Type', 'Defense') values (?, ?);'
[1722452.781] In XMLSerializer while inserting row into table insert into Buildings('Type', 'Defense') with values (BUILDING_KREPOST, 250, ).
[1722452.781] In XMLSerializer while updating table Buildings from file Buildings/Buildings.xml.
[1722452.781] column Type is not unique
<Row>
<Type>BUILDING_KREPOST</Type>
<Defense>250</Defense>
</Row>
But this gave me a "column Type is not unique" in Database.log. I've been trying to figure out what I ought to change this to but I'm not finding anything on it.
[1722452.781] column Type is not unique
[1722452.781] While executing - 'insert into Buildings('Type', 'Defense') values (?, ?);'
[1722452.781] In XMLSerializer while inserting row into table insert into Buildings('Type', 'Defense') with values (BUILDING_KREPOST, 250, ).
[1722452.781] In XMLSerializer while updating table Buildings from file Buildings/Buildings.xml.
[1722452.781] column Type is not unique