db9010 / com.jovial.db9010 / Table / constraintsSql

constraintsSql

open val constraintsSql: String

A string value put at the end of the CREATE TABLE statement, typically to define constraints, like foreign keys. For example, the demo program has a table that overrides this to be FOREIGN KEY (city_id) REFERENCES Cities(id) ON DELETE RESTRICT ON UPDATE RESTRICT.