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.13.0 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.12.1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.13.0.pre1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.12.0 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.11.2 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.12.0.pre db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.11.1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.11.0.pre1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.10.1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.10.0 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.9.3 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.9.2 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.9.1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.9.0 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.8.4 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.8.3 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.8.2 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.8.1 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.8.0 db/migrate/20170808071019_create_decidim_notifications.rb
decidim-core-0.7.4 db/migrate/20170808071019_create_decidim_notifications.rb