WowPress-Tailwind/theme/wowpress/Database/CreateCharacterTable.php

18 lines
382 B
PHP
Raw Normal View History

2024-04-15 16:00:49 +02:00
<?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',
];
}