<?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",
        'spec'  =>  "text",
        'id_blizz' => 'mediumint',
        'id_wowaudit' => 'mediumint',
        'raidchar' => 'boolean DEFAULT 0',
        'guild' =>  "text",
        'rank' =>   'tinyint DEFAULT 99',
        'user_id' => 'mediumint',
    ];

}
