13 lines
510 B
MySQL
13 lines
510 B
MySQL
|
/*
|
||
|
Warnings:
|
||
|
|
||
|
- You are about to drop the column `firstName` on the `user` table. All the data in the column will be lost.
|
||
|
- You are about to drop the column `lastName` on the `user` table. All the data in the column will be lost.
|
||
|
- Added the required column `username` to the `User` table without a default value. This is not possible if the table is not empty.
|
||
|
|
||
|
*/
|
||
|
-- AlterTable
|
||
|
ALTER TABLE `user` DROP COLUMN `firstName`,
|
||
|
DROP COLUMN `lastName`,
|
||
|
ADD COLUMN `username` VARCHAR(191) NOT NULL;
|