0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 02:19:55 +08:00
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

7 lines
175 B
Ruby
Vendored

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