DROP TABLE IF EXISTS `bids`;
CREATE TABLE `bids` (
                        `id` int NOT NULL AUTO_INCREMENT,
                        `user_id` int NOT NULL,
                        `receiver_id` int NOT NULL,
                        `rate` float NOT NULL,
                        `note` text NOT NULL,
                        `title` varchar(150) NOT NULL,
                        `status` tinyint(1) NOT NULL DEFAULT '0',
                        `insert_date` datetime NOT NULL,
                        `edit_date` datetime NOT NULL,
                        PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;