Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mbryzek committed Jul 31, 2024
1 parent 463dd9a commit 87ed275
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions generated/app/db/GeneratorInvocationsDao.scala
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ class GeneratorInvocationsDao @javax.inject.Inject() (override val db: play.api.
private val InsertQuery: io.flow.postgresql.Query = {
io.flow.postgresql.Query("""
| insert into public.generator_invocations
| (key, organization_key, application_key, created_at, updated_at, updated_by_guid, hash_code)
| (id, key, organization_key, application_key, created_at, updated_at, updated_by_guid, hash_code)
| values
| ({key}, {organization_key}, {application_key}, {created_at}::timestamptz, {updated_at}::timestamptz, {updated_by_guid}, {hash_code}::bigint)
| ({id}, {key}, {organization_key}, {application_key}, {created_at}::timestamptz, {updated_at}::timestamptz, {updated_by_guid}, {hash_code}::bigint)
""".stripMargin)
}

Expand Down
4 changes: 2 additions & 2 deletions generated/app/db/SessionsDao.scala
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ class SessionsDao @javax.inject.Inject() (override val db: play.api.db.Database)
private val InsertQuery: io.flow.postgresql.Query = {
io.flow.postgresql.Query("""
| insert into public.sessions
| (user_guid, expires_at, created_at, created_by_guid, updated_at, updated_by_guid, hash_code)
| (id, user_guid, expires_at, created_at, created_by_guid, updated_at, updated_by_guid, hash_code)
| values
| ({user_guid}::uuid, {expires_at}::timestamptz, {created_at}::timestamptz, {created_by_guid}::uuid, {updated_at}::timestamptz, {updated_by_guid}::uuid, {hash_code}::bigint)
| ({id}, {user_guid}::uuid, {expires_at}::timestamptz, {created_at}::timestamptz, {created_by_guid}::uuid, {updated_at}::timestamptz, {updated_by_guid}::uuid, {hash_code}::bigint)
""".stripMargin)
}

Expand Down
4 changes: 2 additions & 2 deletions generated/app/db/TasksDao.scala
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ class TasksDao @javax.inject.Inject() (override val db: play.api.db.Database) ex
private val UpsertQuery: io.flow.postgresql.Query = {
io.flow.postgresql.Query("""
| insert into public.tasks
| (type, type_id, organization_guid, num_attempts, next_attempt_at, errors, stacktrace, data, created_at, updated_at, updated_by_guid, hash_code)
| (id, type, type_id, organization_guid, num_attempts, next_attempt_at, errors, stacktrace, data, created_at, updated_at, updated_by_guid, hash_code)
| values
| ({type}, {type_id}, {organization_guid}::uuid, {num_attempts}::integer, {next_attempt_at}::timestamptz, {errors}::json, {stacktrace}, {data}::json, {created_at}::timestamptz, {updated_at}::timestamptz, {updated_by_guid}, {hash_code}::bigint)
| ({id}, {type}, {type_id}, {organization_guid}::uuid, {num_attempts}::integer, {next_attempt_at}::timestamptz, {errors}::json, {stacktrace}, {data}::json, {created_at}::timestamptz, {updated_at}::timestamptz, {updated_by_guid}, {hash_code}::bigint)
| on conflict(type_id, type) do update
| set organization_guid = {organization_guid}::uuid,
| num_attempts = {num_attempts}::integer,
Expand Down

0 comments on commit 87ed275

Please sign in to comment.