![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/lavocat.quebec/public_html/prisma/ |
SQLite format 3 @ � 8 � � .zp` Z /�����������������������~xrlZZZ ?
S- indexsqlite_autoindex_case_assignments_1case_assignments�/##�%tablepermissionspermissionsCREATE TABLE "permissions" (
"id" TEXT NOT NULL PRIMARY KEY,
"role" TEXT NOT NULL,
"resource" TEXT NOT NULL,
"action" TEXT NOT NULL,
"conditions" TEXT,
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME NOT NULL
)5I# indexsqlite_autoindex_permissions_1permissions �1##�)tableUserProfileUserProfileCREATE TABLE "UserProfile" (
"id" TEXT NOT NULL PRIMARY KEY,
"userId" TEXT NOT NULL,
"availability" TEXT,
"workingHours" TEXT,
CONSTRAINT "UserProfile_userId_fkey" FOREIGN KEY ("userId") REFERENCES "users" ("id") ON DELETE CASCADE ON UPDATE CASCADE
)5I# indexsqlite_autoindex_UserProfile_1UserProfile�N�{tableusersusersCREATE TABLE "users" (
"id" TEXT NOT NULL PRIMARY KEY,
"email" TEXT NOT NULL,
"name" TEXT,
"password" TEXT NOT NULL,
"role" TEXT NOT NULL DEFAULT 'USER',
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME NOT NULL,
"resetPasswordToken" TEXT,
"resetPasswordTokenExpiry" DATETIME,
"reminders" TEXT,
"username" TEXT,
"profilePicture" TEXT,
"bio" TEXT,
"title" TEXT,
"specialization" TEXT,
"barNumber" TEXT,
"yearsOfExperience" INTEGER,
"education" TEXT,
"certifications" TEXT,
"officeLocation" TEXT,
"workPhone" TEXT,
"linkedinUrl" TEXT,
"websiteUrl" TEXT,
"availability" TEXT,
"timezone" TEXT,
"pronouns" TEXT,
"isProfilePublic" BOOLEAN NOT NULL DEFAULT false,
"lastActive" DATETIME,
"hourlyRate" REAL,
"proBono" BOOLEAN NOT NULL DEFAULT false,
"boldnessRating" REAL,
"transparencyRating" REAL,
"winRate" REAL,
"totalCases" INTEGER NOT NULL DEFAULT 0,
"wonCases" INTEGER NOT NULL DEFAULT 0,
"lostCases" INTEGER NOT NULL DEFAULT 0,
"averageRating" REAL,
"isVerified" BOOLEAN NOT NULL DEFAULT false,
"xpPoints" INTEGER NOT NULL DEFAULT 0,
"level" INTEGER NOT NULL DEFAULT 1,
"currentStreak" INTEGER NOT NULL DEFAULT 0,
"totalBadges" INTEGER NOT NULL DEFAULT 0,
"reviewsWritten" INTEGER NOT NULL DEFAULT 0,
"forumPosts" INTEGER NOT NULL DEFAULT 0,
"helpedOthers" INTEGER NOT NULL DEFAULT 0,
"observationHours" REAL NOT NULL DEFAULT 0,
"reformProposals" INTEGER NOT NULL DEFAULT 0,
"wisdomScore" REAL NOT NULL DEFAULT 0,
"civicEngagement" REAL NOT NULL DEFAULT 0,
"accountBalance" REAL NOT NULL DEFAULT 0.0,
"isPaymentVerified" BOOLEAN NOT NULL DEFAULT false,
"donationTotal" REAL NOT NULL DEFAULT 0.0,
"subscriptionTier" TEXT,
"subscriptionExpiry" DATETIME,
"theme" TEXT NOT NULL DEFAULT 'light',
"gender" TEXT,
"phone" TEXT,
"address" TEXT,
"emergencyContact" TEXT,
"emergencyPhone" TEXT,
"dateOfBirth" DATETIME,
"occupation" TEXT,
"language" TEXT NOT NULL DEFAULT 'en',
"notifications" BOOLEAN NOT NULL DEFAULT true,
"lawFirmId" TEXT,
"isActive" BOOLEAN NOT NULL DEFAULT true,
"status" TEXT NOT NULL DEFAULT 'ACTIVE',
"experience" INTEGER,
"rating" REAL,
CONSTRAINT "users_lawFirmId_fkey" FOREIGN KEY ("lawFirmId") REFERENCES "law_firms" ("id") ON DELETE SET NULL ON UPDATE CASCADE
))= indexsqlite_autoindex_users_1users�Z11�_table_prisma_migrations_prisma_migrationsCREATE TABLE "_prisma_migrations" (
"id" TEXT PRIMARY KEY NOT NULL,
"checksum" TEXT NOT NULL,
"finished_at" DATETIME,
"migration_name" TEXT NOT NULL,
"logs" TEXT,
"rolled_back_at" DATETIME,
"started_at" DATETIME NOT NULL DEF �'