| | |
| | | exit; |
| | | } |
| | | |
| | | use JVBase\registrar\Registrar; |
| | | use JVBase\managers\CustomTable; |
| | | class MakeVerification { |
| | | protected CustomTable $table; |
| | | public function __construct() |
| | | { |
| | | $this->defineTables(); |
| | | } |
| | | |
| | | protected function defineTables():void |
| | | { |
| | | $types = implode(',', array_map(function($item) { return "`{$item}`"; },Registrar::getFeatured('verify_entry'))); |
| | | |
| | | $table = CustomTable::for('verify_entry'); |
| | | |
| | | $table->setColumns([ |
| | | 'id' => 'bigint(20) unsigned NOT NULL AUTO_INCREMENT', |
| | | 'user_id' => "{$table->getUserIDType()} NOT NULL", |
| | | 'content' |
| | | ]) |
| | | } |
| | | } |