Before you install this database code, you have one option on config.lua Config.AutoDatabase you can active this option and on first start the script will create the table automatic.
CREATE TABLE IF NOT EXISTS `m_storage_units` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`owners` longtext DEFAULT NULL,
`price` int(11) NOT NULL,
`password` varchar(255) DEFAULT NULL,
`location` varchar(255) NOT NULL,
`blip` tinyint(1) DEFAULT 1,
`created_at` datetime NOT NULL DEFAULT current_timestamp(),
`locked` tinyint(1) DEFAULT 0,
`weight` int(11) NOT NULL DEFAULT 50,
`slots` int(11) NOT NULL DEFAULT 20,
`prop` varchar(100) DEFAULT NULL,
`heading` float DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;