CREATE TABLE `user_permissions` (
	`id` integer NOT NULL,
	`permissions` text NOT NULL,
	PRIMARY KEY(`id`, `permissions`),
	FOREIGN KEY (`id`) REFERENCES `users`(`id`) ON UPDATE cascade ON DELETE cascade
);
