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

22 lines
484 B
PHP
Raw Permalink Normal View History

<?php
namespace WoWPress\Database;
class CreateComplaintTable extends CreateTable
{
public static $table_name = "complaints";
public static $fields = [
'user_id' => 'mediumint',
'anonymous' => 'boolean',
'complaint' => 'text NOT NULL',
'user_comment' => 'text',
'admin_comment' => 'text',
'created_at' => 'timestamp NOT NULL',
'updated_at' => 'timestamp NOT NULL',
'deleted_at' => 'timestamp',
];
}