'bigint(20) NOT NULL AUTO_INCREMENT', 'transaction_id' => 'varchar(255)', 'initial_transaction_id' => 'varchar(255)', 'form_id' => 'bigint(20) UNSIGNED NOT NULL', 'user_id' => 'bigint(20)', 'gateway_id' => 'varchar(100)', 'scenario' => 'varchar(100)', 'amount_value' => 'DECIMAL(10,2)', 'amount_code' => 'varchar(20)', 'type' => 'varchar(100)', 'status' => 'varchar(100)', 'created_at' => 'TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP', 'updated_at' => 'TIMESTAMP NOT NULL', ); } /** * @inheritDoc */ public static function schema_keys(): array { return array( 'id' => 'primary key', 'transaction_id' => 'index', 'form_id' => 'index', 'user_id' => 'index', ); } }