<?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",
        'id_blizz' => 'mediumint(9)',
        'guild' =>  "text",
        'rank' =>   'tinyint DEFAULT 99',
        'user_id' => 'mediumint(9)',
    ];

}
