Query
CREATE TABLE "core_user_permissions" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"user_id" bigint NOT NULL REFERENCES "core_users" ("id") DEFERRABLE INITIALLY DEFERRED,
"permission_id" integer NOT NULL REFERENCES "auth_permission" ("id") DEFERRABLE INITIALLY DEFERRED
)