19 lines
405 B
PHP
19 lines
405 B
PHP
<?php
|
|
|
|
namespace WoWPress\Database;
|
|
|
|
class CreateRaidTable 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",
|
|
'guild' => "text",
|
|
'rank' => 'tinyint DEFAULT 99',
|
|
];
|
|
|
|
}
|