stacker.news/prisma/migrations/20210902220036_case_insensi.../migration.sql

11 lines
269 B
MySQL
Raw Normal View History

2021-09-02 22:22:00 +00:00
/*
Warnings:
- A unique constraint covering the columns `[name]` on the table `users` will be added. If there are existing duplicate values, this will fail.
*/
CREATE EXTENSION IF NOT EXISTS citext;
-- AlterTable
ALTER TABLE users ALTER COLUMN name TYPE citext;