satellite/satellitedb: add missing SeparateTx
Change-Id: I3ba5a4e0632a1e0e5e77c30e515953eadf05bc45
This commit is contained in:
parent
66f5368807
commit
d91cf5f4de
@ -1118,6 +1118,7 @@ func (db *satelliteDB) PostgresMigration() *migrate.Migration {
|
||||
DB: db.DB,
|
||||
Description: "add period column to the credits_spendings table (step 1)",
|
||||
Version: 109,
|
||||
SeparateTx: true,
|
||||
Action: migrate.SQL{
|
||||
`ALTER TABLE credits_spendings ADD COLUMN period timestamp with time zone;`,
|
||||
},
|
||||
@ -1135,6 +1136,7 @@ func (db *satelliteDB) PostgresMigration() *migrate.Migration {
|
||||
DB: db.DB,
|
||||
Description: "add period column to the credits_spendings table (step 3)",
|
||||
Version: 111,
|
||||
SeparateTx: true,
|
||||
Action: migrate.SQL{
|
||||
`ALTER TABLE credits_spendings ALTER COLUMN period SET NOT NULL;`,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user