discourse/db/migrate/20200811004537_add_verified_column_to_uploads.rb
Martin Brennan b950b3fb3f
DEV: Add verified to uploads and fill in S3 inventory (#10406)
When we run the S3 inventory, mark uploads that exist as verified true, those that don't as verified false, and uploads not included in the check / not yet checked as verified nil.
2020-08-11 14:43:51 +10:00

8 lines
175 B
Ruby

# frozen_string_literal: true
class AddVerifiedColumnToUploads < ActiveRecord::Migration[6.0]
def change
add_column :uploads, :verified, :boolean, null: true
end
end