Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
+26
@@ -0,0 +1,26 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "FeatureFlag" ADD COLUMN "action" TEXT;
|
||||
|
||||
-- CreateTable
|
||||
CREATE TABLE "IpAddress" (
|
||||
"id" TEXT NOT NULL,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updatedAt" TIMESTAMP(3) NOT NULL,
|
||||
"ip" TEXT NOT NULL,
|
||||
"provider" TEXT NOT NULL,
|
||||
"type" TEXT NOT NULL,
|
||||
"countryCode" TEXT NOT NULL,
|
||||
"countryName" TEXT NOT NULL,
|
||||
"regionCode" TEXT NOT NULL,
|
||||
"regionName" TEXT NOT NULL,
|
||||
"city" TEXT NOT NULL,
|
||||
"zipCode" TEXT NOT NULL,
|
||||
"latitude" DECIMAL(65,30),
|
||||
"longitude" DECIMAL(65,30),
|
||||
"metadata" TEXT NOT NULL,
|
||||
|
||||
CONSTRAINT "IpAddress_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "IpAddress_ip_key" ON "IpAddress"("ip");
|
||||
Reference in new issue
Block a user