Skip to content

Commit

Permalink
adding uuid as ID to follow the standard
Browse files Browse the repository at this point in the history
  • Loading branch information
etaques authored Sep 27, 2023
1 parent b8eca6a commit e2d679d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maestro/postgres/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func migrateDB(db *sqlx.DB) error {
Id: "1",
Up: []string{
`CREATE TABLE IF NOT EXISTS deployments (
id VARCHAR(255),
id UUID NOT NULL DEFAULT gen_random_uuid(),
owner_id VARCHAR(255),
sink_id VARCHAR(255),
config JSONB,
Expand Down

0 comments on commit e2d679d

Please sign in to comment.