DEV: Add timestamp columns to optimized_images table (#10199)

This allows us to filter by created/updated date when comparing to an S3 inventory.
This commit is contained in:
David Taylor
2020-07-14 11:50:33 +01:00
committed by GitHub
parent 94a2a70462
commit 3d65678a13
3 changed files with 47 additions and 11 deletions

View File

@ -360,16 +360,18 @@ end
#
# Table name: optimized_images
#
# id :integer not null, primary key
# sha1 :string(40) not null
# extension :string(10) not null
# width :integer not null
# height :integer not null
# upload_id :integer not null
# url :string not null
# filesize :integer
# etag :string
# version :integer
# id :integer not null, primary key
# sha1 :string(40) not null
# extension :string(10) not null
# width :integer not null
# height :integer not null
# upload_id :integer not null
# url :string not null
# filesize :integer
# etag :string
# version :integer
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#