| 1 | <?php |
||
| 6 | class CreateUsersTable extends Migration { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @author Andrea Marco Sartori |
||
| 10 | * @var string $table The name of the users table. |
||
| 11 | */ |
||
| 12 | protected $table; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Set the name of the users table. |
||
| 16 | * |
||
| 17 | * @author Andrea Marco Sartori |
||
| 18 | * @return void |
||
| 19 | */ |
||
| 20 | public function __construct() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Run the migrations. |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function up() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Reverse the migrations. |
||
| 45 | * |
||
| 46 | * @return void |
||
| 47 | */ |
||
| 48 | public function down() |
||
| 52 | |||
| 53 | } |
||
| 54 |