Skip to content

Commit

Permalink
Add status reason field on node_version. (#43)
Browse files Browse the repository at this point in the history
* Add status reason field on node_version.

* Udpate.

* Add migration.

* Add status reason in response.

* tewsts.
  • Loading branch information
robinjhuang authored Jun 15, 2024
1 parent 5eeefb9 commit 93c6877
Show file tree
Hide file tree
Showing 16 changed files with 359 additions and 83 deletions.
158 changes: 82 additions & 76 deletions drip/api.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ent/migrate/migrations/20240615222435_migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Modify "node_versions" table
ALTER TABLE "node_versions" ADD COLUMN "status_reason" text NOT NULL DEFAULT '';
3 changes: 2 additions & 1 deletion ent/migrate/migrations/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
h1:LRRLqduxxmL6NHoThrU3hxZOXE0dC/HSiohFDPVRq4Q=
h1:kY3aaZH50KImxY+1scEXSlwzIF4x2bEtQWhiOmaqlzg=
20240526144817_migration.sql h1:sP6keX+oMyLL2qpIFx0Ns0WYfWM5hJ4zkFPmLWT68fM=
20240528220411_migration.sql h1:SR44sOEaWbDgYCKJZIKcGCI7Ta+LqL71z225Nhs2+HM=
20240528221846_migration.sql h1:EkUonGI9Bu689qWX4pG3PRC+On4f6u7UvwDbaR8mCNk=
Expand All @@ -9,3 +9,4 @@ h1:LRRLqduxxmL6NHoThrU3hxZOXE0dC/HSiohFDPVRq4Q=
20240614211957_migration.sql h1:qUD4bs8JikDO/0TLD91fhkHzyesdyn2yKqmwkBcWVMc=
20240614213347_migration.sql h1:iz6Lzy1OdtArw2xgRICa0Kktj+BmBji0JUbi+k5WlU8=
20240615214552_migration.sql h1:KEmZcB8I6dlnCp4fXwcUETnxUBVf9JY53CUgpkX/jnw=
20240615222435_migration.sql h1:n4J0/FWg+mu6kAUTtHMiwG1mveFMsf2NT/jkhtczo48=
7 changes: 4 additions & 3 deletions ent/migrate/schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 55 additions & 1 deletion ent/mutation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 93c6877

Please sign in to comment.