CREATE TABLE IF NOT EXISTS `roles` (
  `id` INT AUTO_INCREMENT PRIMARY KEY,
  `role_name` VARCHAR(50) NOT NULL UNIQUE
);

INSERT INTO `roles` (id, role_name) VALUES (1, 'Admin'), (2, 'User')
ON DUPLICATE KEY UPDATE role_name=VALUES(role_name);
