-- CreateTable
CREATE TABLE `UserLocation` (
    `id` INTEGER NOT NULL AUTO_INCREMENT,
    `logto_uid` VARCHAR(191) NOT NULL,
    `name` VARCHAR(191) NOT NULL,
    `coords` point NOT NULL,

    INDEX `UserLocation_coords_idx`(`coords`),
    UNIQUE INDEX `UserLocation_logto_uid_name_key`(`logto_uid`, `name`),
    PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
