First table
CREATE TABLE `payments` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `payment_status_id` int(10) unsigned NOT NULL, PRIMARY KEY (`id`