Skip to content

Commit

Permalink
Ban Publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
james03160927 committed Jun 14, 2024
1 parent 7b4e03f commit a7c593a
Show file tree
Hide file tree
Showing 32 changed files with 1,187 additions and 29 deletions.
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ type Config struct {
ProjectID string
DripEnv string
SlackRegistryChannelWebhook string
JWTSecret string
}
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ services:
GOOGLE_CLOUD_PROJECT: "dreamboothy-dev" # This will be set in prod by GCP.
PROJECT_ID: "dreamboothy-dev"
CORS_ORIGIN: "http://localhost:3000"
JWT_SECRET: 8zT9YknYUTZRVAkgov86gT1NLezTtwrd # test secret
LOG_LEVEL: info # Set the log level here
4 changes: 4 additions & 0 deletions ent/migrate/migrations/20240614133606_migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- Modify "publishers" table
ALTER TABLE "publishers" ADD COLUMN "status" character varying NOT NULL DEFAULT 'ACTIVE';
-- Modify "users" table
ALTER TABLE "users" 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:qX0QvAnzEKgoQA76EtW//i99EEYfNXMQXZioom70Jts=
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=
20240614133606_migration.sql h1:ydCsnRUhSVP0WY7ey7DNHcNQnABPuOt7Z/b0mj7+s6M=
2 changes: 2 additions & 0 deletions ent/migrate/schema.go

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

112 changes: 110 additions & 2 deletions 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 a7c593a

Please sign in to comment.