CREATE TABLE IF NOT EXIST `ps_simulator` ( `id_simulator` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(255) NOT NULL, `name` varchar(255) NOT NULL, PRIMARY KEY (`id_simulator`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXIST `ps_simulator_theme` ( `id_simulator_theme` int(11) NOT NULL AUTO_INCREMENT, `id_simulator` int(11) NOT NULL, `name` varchar(255) NOT NULL, PRIMARY KEY (`id_simulator_theme`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;