mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
feat: calculate used storage
This commit is contained in:
10
prisma/migrations/20250410130313_add_storage/migration.sql
Normal file
10
prisma/migrations/20250410130313_add_storage/migration.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `image` on the `users` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "users" DROP COLUMN "image",
|
||||
ADD COLUMN "storage_used" INTEGER DEFAULT 0,
|
||||
ADD COLUMN "token_balance" INTEGER DEFAULT 0;
|
||||
@@ -1,3 +1,3 @@
|
||||
# Please do not edit this file manually
|
||||
# It should be added in your version-control system (e.g., Git)
|
||||
provider = "postgresql"
|
||||
provider = "postgresql"
|
||||
|
||||
Reference in New Issue
Block a user