20211031031021_create_preview_card_providers.rb 387 B

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