/* Warnings: - You are about to alter the column `prixTtc` on the `Produit` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Integer`. - You are about to drop the `Post` table. If the table is not empty, all the data it contains will be lost. - You are about to drop the `Profile` table. If the table is not empty, all the data it contains will be lost. */ -- DropForeignKey ALTER TABLE "Post" DROP CONSTRAINT "Post_authorId_fkey"; -- DropForeignKey ALTER TABLE "Profile" DROP CONSTRAINT "Profile_userId_fkey"; -- DropIndex DROP INDEX "Gain_userId_key"; -- AlterTable ALTER TABLE "Produit" ALTER COLUMN "prixTtc" SET DATA TYPE INTEGER; -- AlterTable ALTER TABLE "users" ADD COLUMN "address" TEXT, ADD COLUMN "phoneNumber" TEXT, ADD COLUMN "surname" TEXT, ADD COLUMN "zipCode" TEXT; -- DropTable DROP TABLE "Post"; -- DropTable DROP TABLE "Profile";