Sha256: dd4edadefb898ef43578af83a9e54d499e2ccf525a8f829a0ad75c26a0ed8ae4

Contents?: true

Size: 421 Bytes

Versions: 74

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

class CreateDecidimContinuityBadgeStatuses < ActiveRecord::Migration[5.2]
  def change
    create_table :decidim_continuity_badge_statuses do |t|
      t.integer :current_streak, :integer, null: false, default: 0
      t.date :last_session_at, null: false
      t.references :subject, null: false, polymorphic: true, index: { name: "decidim_continuity_statuses_subject" }
    end
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
decidim-core-0.26.8 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.27.4 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.27.3 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.26.7 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.26.5 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.27.2 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.27.1 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.26.4 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.27.0 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.26.3 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.27.0.rc2 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.27.0.rc1 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.26.2 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.26.1 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.26.0 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.26.0.rc2 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.26.0.rc1 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.25.2 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.25.1 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb
decidim-core-0.25.0 db/migrate/20181010044613_create_decidim_continuity_badge_statuses.rb