20211031031021_create_preview_card_providers.rb 356 B

123456789101112
  1. class CreatePreviewCardProviders < ActiveRecord::Migration[6.1]
  2. def change
  3. create_table :preview_card_providers do |t|
  4. t.string :domain, null: false, default: '', index: { unique: true }
  5. t.attachment :icon
  6. t.boolean :trendable
  7. t.datetime :reviewed_at
  8. t.datetime :requested_review_at
  9. t.timestamps
  10. end
  11. end
  12. end