satellite/metainfo/metabase: add etag column to segments table
We will use it keep track of ETag for object parts. Change-Id: Ib610397afd44d71a1b5fe4301940de6f36ba39ae
This commit is contained in:
parent
fa083a7f05
commit
36bc17ef5b
@ -299,6 +299,14 @@ func (db *DB) PostgresMigration() *migrate.Migration {
|
||||
`ALTER TABLE segments ALTER COLUMN created_at SET DEFAULT now()`,
|
||||
},
|
||||
},
|
||||
{
|
||||
DB: &db.db,
|
||||
Description: "add etag column to segments table",
|
||||
Version: 9,
|
||||
Action: migrate.SQL{
|
||||
`ALTER TABLE segments ADD COLUMN etag BYTEA default NULL`,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user