-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMigration000.php
More file actions
32 lines (31 loc) · 973 Bytes
/
Migration000.php
File metadata and controls
32 lines (31 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
namespace App\Database\Migrations\Multi;
use WebFiori\Database\Database;
use WebFiori\Database\Schema\AbstractMigration;
/**
* A database migration class.
*/
class Migration000 extends AbstractMigration {
/**
* Creates new instance of the class.
*/
public function __construct() {
parent::__construct('Third One', 2);
}
/**
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) : void {
//TODO: Implement the action which will revert back the migration.
}
/**
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) : void {
//TODO: Implement the action which will apply the migration to database.
}
}