Urlaubsplan
Lade ...
Suche ...
Keine Treffer
Config::Migrations Klassenreferenz
Klassendiagramm für Config::Migrations:
Zusammengehörigkeiten von Config::Migrations:

Öffentliche Attribute

bool $enabled = true
 
string $table = 'migrations'
 
string $timestampFormat = 'Y-m-d-His_'
 

Dokumentation der Datenelemente

◆ $enabled

bool Config::Migrations::$enabled = true

Enable/Disable Migrations

Migrations are enabled by default.

You should enable migrations whenever you intend to do a schema migration and disable it back when you're done.

◆ $table

string Config::Migrations::$table = 'migrations'

Migrations Table

This is the name of the table that will store the current migrations state. When migrations runs it will store in a database table which migration files have already been run.

◆ $timestampFormat

string Config::Migrations::$timestampFormat = 'Y-m-d-His_'

Timestamp Format

This is the format that will be used when creating new migrations using the CLI command:

‍php spark make:migration

NOTE: if you set an unsupported format, migration runner will not find your migration files.

Supported formats:

  • YmdHis_
  • Y-m-d-His_
  • Y_m_d_His_

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: