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

18 lines
342 B
PHP

<?php
namespace WoWPress\Database;
class CreateNotificationTable extends CreateTable
{
public static $table_name = "notifications";
public static $fields = [
'user_id' => 'mediumint',
'note' => 'text NOT NULL',
'created_at' => 'timestamp NOT NULL',
'updated_at' => 'timestamp NOT NULL',
];
}