18 lines
382 B
PHP
18 lines
382 B
PHP
|
<?php
|
||
|
|
||
|
namespace WoWPress\Database;
|
||
|
|
||
|
class CreateCharacterTable extends CreateTable
|
||
|
{
|
||
|
|
||
|
public static $table_name = "characters";
|
||
|
public static $fields = [
|
||
|
'name' => 'text NOT NULL',
|
||
|
'realm' => 'text NOT NULL',
|
||
|
'class' => "text DEFAULT Adventurer",
|
||
|
'spec' => "text DEFAULT Brave",
|
||
|
'rank' => 'tinyint DEFAULT 99',
|
||
|
];
|
||
|
|
||
|
}
|