✅ ajout de page mon compte - en cours
This commit is contained in:
1 parent
7827aa119f
commit
65efdcac94
19 files changed
+2126
-92
No files matched your search
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
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";
|
||||
Reference in new issue
Block a user