\Dewdrop\Cli\CommandDatabaseGeneratorTrait

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
getDbRevision()
No protected properties found
N/A
tableExists()
No private properties found
N/A

Methods

getDbRevision()

getDbRevision() : string

Get the revision number that should be used for the dbdeploy file.

Returns the number as a zero-padded string, as suggested in the naming conventions (e.g. "00002").

Returns

string

tableExists()

tableExists(  $tableName) : boolean

Check to see if the table exists in the database already.

Parameters

$tableName

Returns

boolean —

Whether or not table exists.