Skip to content

Commit

Permalink
Add status column for Publisher.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 14, 2024
1 parent 89a2aec commit e4d2837
Show file tree
Hide file tree
Showing 14 changed files with 373 additions and 54 deletions.
111 changes: 61 additions & 50 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/20240614001941_migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Modify "publishers" table
ALTER TABLE "publishers" ADD COLUMN "status" character varying NOT NULL DEFAULT 'active';
3 changes: 2 additions & 1 deletion ent/migrate/migrations/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
h1:2QXQ3z5rSkR97vRuWeBJ1mE+6Wxd3t8Gu+pvpiBI9hA=
h1:OgiKl98ZRvLrobZ10hFMunx6rgR3vdfqVcnun8f3gRA=
20240526144817_migration.sql h1:sP6keX+oMyLL2qpIFx0Ns0WYfWM5hJ4zkFPmLWT68fM=
20240528220411_migration.sql h1:SR44sOEaWbDgYCKJZIKcGCI7Ta+LqL71z225Nhs2+HM=
20240528221846_migration.sql h1:EkUonGI9Bu689qWX4pG3PRC+On4f6u7UvwDbaR8mCNk=
20240528222851_migration.sql h1:VaQhEaDGe8M2kuNtKVjuMWMLJ9RhJVraVgSM4rm/XcQ=
20240601211932_migration.sql h1:zTofjRbLfoZZF8k6dvAMUDJGRENHAG3m1qqtLgTXUCQ=
20240613231838_migration.sql h1:fbgEWDDA7hcQP5gdX6WDpPWG+340dT40CgkwIG7KGxw=
20240614001941_migration.sql h1:Lqzo8WsAsbS0yDD0Vwl9uWET5GpHljAUBIzvD3n/Sp0=
1 change: 1 addition & 0 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.

14 changes: 13 additions & 1 deletion ent/publisher.go

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

22 changes: 22 additions & 0 deletions ent/publisher/publisher.go

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

Loading

0 comments on commit e4d2837

Please sign in to comment.