MySQL Help - Indexing nil value and query errors


(Line 72 in here)

(user_information table creation)
image

user_identifiers datatable works perfectly find just the user_information wont store anything.
Not sure why its chucking these errors at me does anyone know why? (Im very unfamiliar with SQL)

first of all I think you don’t need ON UPDATE CASCADE and ON DELETE CASCADE in your framework.sql file

and for error in line 72, resource can’t get that data from user_information cause I think you have to do it like this :

local SpawnPos = json.decode(result[0].position)