mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
* Simplify ids in database schema * Access * Order * Subscription * Update changelogpull/862/head
Thomas Kaul
3 years ago
committed by
GitHub
5 changed files with 45 additions and 41 deletions
@ -0,0 +1,14 @@ |
|||||
|
-- AlterTable |
||||
|
ALTER TABLE "Access" DROP CONSTRAINT "Access_pkey", |
||||
|
ADD CONSTRAINT "Access_pkey" PRIMARY KEY ("id"); |
||||
|
|
||||
|
-- AlterTable |
||||
|
ALTER TABLE "MarketData" ADD CONSTRAINT "MarketData_pkey" PRIMARY KEY ("id"); |
||||
|
|
||||
|
-- AlterTable |
||||
|
ALTER TABLE "Order" DROP CONSTRAINT "Order_pkey", |
||||
|
ADD CONSTRAINT "Order_pkey" PRIMARY KEY ("id"); |
||||
|
|
||||
|
-- AlterTable |
||||
|
ALTER TABLE "Subscription" DROP CONSTRAINT "Subscription_pkey", |
||||
|
ADD CONSTRAINT "Subscription_pkey" PRIMARY KEY ("id"); |
Loading…
Reference in new issue