getSqlCreate() getSqlCreate( $model) : array Get the SQL to generate the tables of the given model. Parameters $model Returns array — Array of SQL strings ready to execute.
getSqlCreateConstraints() getSqlCreateConstraints( $model) : array SQLite cannot add foreign key constraints to already existing tables, so we skip their creation completely. Parameters $model Returns array
getSqlIndexes() getSqlIndexes( $model) : array Get the SQL to generate the indexes of the given model. Parameters $model Returns array — Array of SQL strings ready to execute.
getSqlDelete() getSqlDelete( $model) : string Get the SQL to drop the tables corresponding to the model. Parameters $model Returns string — SQL string ready to execute.
getSqlDeleteConstraints() getSqlDeleteConstraints( $model) : array SQLite cannot drop foreign keys from existing tables, so we skip their deletion completely. Parameters $model Returns array