class Schema (View source)

Methods

static 
drop(string $table)

Supprimer une table.

static 
dropIfExists(string $table)

Supprimer une table.

static 
create(string $table, callable $cb, bool $displaySql = false)

Fonction de creation d'une nouvelle table dans la base de donnée.

static 
table(string $table, callable $cb, bool $displaySql = false)

Manipule les informations de la table.

Details

static drop(string $table)

Supprimer une table.

Parameters

string $table

static dropIfExists(string $table)

Supprimer une table.

Parameters

string $table

static create(string $table, callable $cb, bool $displaySql = false)

Fonction de creation d'une nouvelle table dans la base de donnée.

Parameters

string $table
callable $cb
bool $displaySql

static table(string $table, callable $cb, bool $displaySql = false)

Manipule les informations de la table.

Parameters

string $table
callable $cb
bool $displaySql