Browse Source

add block mechanism

main
matthew 2 years ago
parent
commit
b6298b8feb
  1. 2
      docker-compose.yml
  2. 2
      searching-front/db/migrations/20221013192856_a/migration.sql
  3. 1
      searching-front/db/schema.prisma

2
docker-compose.yml

@ -35,6 +35,8 @@ services:
- db - db
- influxdb - influxdb
watcher: watcher:
ports:
- '5555:5555'
container_name: watcher container_name: watcher
depends_on: depends_on:
- elasticsearch - elasticsearch

2
searching-front/db/migrations/20221013192856_a/migration.sql

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "NftDomain" ADD COLUMN "blocked" BOOLEAN DEFAULT false;

1
searching-front/db/schema.prisma

@ -96,4 +96,5 @@ model NftDomain {
available Boolean available Boolean
lastParse DateTime? lastParse DateTime?
firstAvailableDate DateTime? firstAvailableDate DateTime?
blocked Boolean? @default(false)
} }

Loading…
Cancel
Save