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.
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.
getShortenedIdentifierName() getShortenedIdentifierName( $name) : string All identifiers in Postgres must not exceed 64 characters in length. Parameters $name Returns string
getSqlCreateConstraints() getSqlCreateConstraints( $model) : array Get the SQL to create the constraints for 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 Get the SQL to drop the constraints for the given model Parameters $model Returns array — Array of SQL strings ready to execute.