Skip to content

Commit

Permalink
Add distributed_lock table
Browse files Browse the repository at this point in the history
  • Loading branch information
samanehsan committed Feb 29, 2024
1 parent 73fd8a2 commit 73d5f55
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,23 @@ databaseChangeLog:
constraints:
nullable: false
- column:
name: update_lock_timeout
name: lock_id
type: text
constraints:
nullable: false
references: distributed_lock(lock_id)
foreignKeyName: fk_lock_id
- createTable:
tableName: distributed_lock
columns:
- column:
name: lock_id
type: text
constraints:
primaryKey: true
nullable: false
- column:
name: expires_at
type: timestamp
constraints:
nullable: false

0 comments on commit 73d5f55

Please sign in to comment.