Skip to content

Commit ed3af36

Browse files
committed
update README with prerequisites and add dataset_id column to thread table in migrations
1 parent 305c0db commit ed3af36

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@ This repository contains the schema and metadata of the MINT GraphQL.
44

55
## How to run?
66

7-
### Prerequisites
7+
### Prerequisites
88

99
1. Install the [Hasura CLI](https://hasura.io/docs/latest/migrations-metadata-seeds/migrations-metadata-setup/#step-1-install-the-hasura-cli)
1010
2. Install MINT using Helm chart
1111

1212
### Run
1313

14-
15-
1614
Apply the metadata to the MINT GraphQL
1715

1816
```bash
1917
$ export HASURA_GRAPHQL_ADMIN_SECRET=<admin-secret>
18+
$ export HASURA_GRAPHQL_ENDPOINT=http://localhost:8080
2019
$ hasura migrate apply
2120
$ hasura metadata apply
2221
```
@@ -26,4 +25,3 @@ Populate the database with the seed data
2625
```bash
2726
$ hasura seeds apply
2827
```
29-

migrations/1751375338869_add_dataset_id_subtask/down.sql

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ALTER TABLE thread
2+
ADD COLUMN dataset_id text;
3+
4+
-- down.sql
5+
ALTER TABLE thread
6+
DROP COLUMN dataset_id;

0 commit comments

Comments
 (0)