Sha256: 8e92c125670309cd490d91ccaf5ab98be97fb8bcf81ea88962c968cedc08edff

Contents?: true

Size: 402 Bytes

Versions: 122

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

class CreateDecidimNotifications < ActiveRecord::Migration[5.1]
  def change
    create_table :decidim_notifications do |t|
      t.references :decidim_user, null: false
      t.references :decidim_resource, polymorphic: true, index: false, null: false
      t.string :event_name, null: false
      t.string :event_class, null: false
      t.timestamps
    end
  end
end

Version data entries

122 entries across 122 versions & 2 rubygems

Version Path
decidim-core-0.29.1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.28.4 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.27.9 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.29.0 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.28.3 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.27.8 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.29.0.rc4 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.29.0.rc3 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.29.0.rc2 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.29.0.rc1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.28.2 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.27.7 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.28.1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.27.6 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.26.10 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.26.9 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.28.0 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.27.5 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.28.0.rc5 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.28.0.rc4 db/migrate/20170808071019_create_decidim_notifications.rb