`funcoins_account` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'FunCoins account',
`funcoins_amount` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000 COMMENT 'Transfered amount',
`funcoins_timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Booking timestamp',
-`funcoins_type` ENUM('WITHDRAW','PAYOUT','FAILED') NOT NULL DEFAULT 'FAILED' COMMENT 'Transaction type',
-`fucoins_tan` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'TAN from API',
+`funcoins_type` ENUM('WITHDRAW','PAYOUT') NOT NULL DEFAULT 'PAYOUT' COMMENT 'Transaction type',
+`fucoins_tan` VARCHAR(255) NULL DEFAULT NULL COMMENT 'TAN from API',
`funcoins_api_response` TINYTEXT COMMENT 'Clear text API response (only for debugging)',
`funcoins_api_status` INT(4) NULL DEFAULT NULL COMMENT 'Status code from API',
PRIMARY KEY (`id`),
addConfigAddSql('funcoins_min_payout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 40000');
addConfigAddSql('funcoins_min_withdraw', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 5000');
addConfigAddSql('funcoins_api_id', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
- addConfigAddSql('funcoins_api_password', "VARCHAR(32) NOT NULL DEFAULT ''");
+ addConfigAddSql('funcoins_api_password', "VARCHAR(255) NOT NULL DEFAULT ''");
addConfigAddSql('funcoins_payout_active', "ENUM ('Y','N') NOT NULL DEFAULT 'Y'");
addConfigAddSql('funcoins_withdraw_active', "ENUM ('Y','N') NOT NULL DEFAULT 'Y'");
addConfigAddSql('funcoins_payout_factor', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 1.00000');
`wernis_account` VARCHAR(255) NOT NULL DEFAULT '',
`wernis_amount` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
`wernis_timestamp` VARCHAR(10) NOT NULL DEFAULT 0,
-`wernis_type` ENUM('IN','OUT','FAILED') NOT NULL DEFAULT 'FAILED',
+`wernis_type` ENUM('IN','OUT') NOT NULL DEFAULT 'OUT',
`wernis_api_message` TINYTEXT,
`wernis_api_status` VARCHAR(255) NULL DEFAULT NULL,
PRIMARY KEY (`id`),