chore(tfstated): change database state id and version id formats to uuidv7
This commit is contained in:
parent
169e2d0d9d
commit
6fd1663d8c
9 changed files with 73 additions and 57 deletions
|
@ -2,11 +2,13 @@ package model
|
|||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"go.n16f.net/uuid"
|
||||
)
|
||||
|
||||
type State struct {
|
||||
Created time.Time
|
||||
Id int
|
||||
Id uuid.UUID
|
||||
Lock *string
|
||||
Path string
|
||||
Updated time.Time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue