Sha256: fbfdfab4800facabf3133f23c9909e54ed4ececab8552df496fe08e7aaeb12f1

Contents?: true

Size: 348 Bytes

Versions: 250

Compression:

Stored size: 348 Bytes

Contents

class CreateComeeCoreNotifications < ActiveRecord::Migration[7.0]
  def change
    create_table :comee_core_notifications do |t|
      t.references :recipient, polymorphic: true, null: false
      t.string :type
      t.jsonb :params
      t.datetime :read_at

      t.timestamps
    end
    add_index :comee_core_notifications, :read_at
  end
end

Version data entries

250 entries across 250 versions & 1 rubygems

Version Path
comee_core-0.3.62 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.61 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.60 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.59 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.58 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.57 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.56 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.55 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.54 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.53 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.51 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.50 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.49 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.48 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.47 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.46 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.45 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.44 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.43 db/migrate/20230730061225_create_comee_core_notifications.rb
comee_core-0.3.42 db/migrate/20230730061225_create_comee_core_notifications.rb