mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Merge pull request #305 from Hestia-Homes/feature/pashub-fetcher-migration
Migration corrections
This commit is contained in:
commit
e923cf0ff6
6 changed files with 6 additions and 13 deletions
1
migrate_to_db.sh
Normal file
1
migrate_to_db.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
npx drizzle-kit migrate
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
"test:e2e:open": "start-server-and-test dev http://localhost:3000 \"cypress open --e2e\"",
|
||||
"test:e2e:run": "cypress run",
|
||||
"migration:generate": "drizzle-kit generate",
|
||||
"migration:push": "drizzle-kit push",
|
||||
"migration:migrate": "drizzle-kit migrate",
|
||||
"create_user": "tsx src/app/db/create_user.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
npx drizzle-kit push
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
CREATE TYPE "public"."rebaseline_reason" AS ENUM('none', 'pre_sap10', 'physical_state_changed', 'both');--> statement-breakpoint
|
||||
ALTER TYPE "public"."file_type" ADD VALUE 'other';--> statement-breakpoint
|
||||
ALTER TYPE "public"."file_type" ADD VALUE IF NOT EXISTS 'other';--> statement-breakpoint
|
||||
CREATE TABLE "epc_renewable_heat_incentive" (
|
||||
"id" bigserial PRIMARY KEY NOT NULL,
|
||||
"epc_property_id" bigint NOT NULL,
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"id": "2e1be8b1-cd76-4951-9e53-f4e21e4ccec1",
|
||||
"id": "4b32b79f-ba72-4512-9214-9335d7f1239c",
|
||||
"prevId": "07dbe008-1c2a-4d52-b27a-74f9e68fa596",
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
|
|
|
|||
|
|
@ -1255,13 +1255,6 @@
|
|||
"tag": "0178_parched_midnight",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 179,
|
||||
"version": "7",
|
||||
"when": 1776459924335,
|
||||
"tag": "0179_mighty_cardiac",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 180,
|
||||
"version": "7",
|
||||
|
|
@ -1545,8 +1538,8 @@
|
|||
{
|
||||
"idx": 220,
|
||||
"version": "7",
|
||||
"when": 1780483404142,
|
||||
"tag": "0220_glamorous_phantom_reporter",
|
||||
"when": 1780491109956,
|
||||
"tag": "0220_round_retro_girl",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue