Sha256: 55bb44e67f3c04a2a1029b59e45927fde94a22761c7cff863e1b8f36d6dbd33c

Contents?: true

Size: 299 Bytes

Versions: 78

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

class AddBadgeScores < ActiveRecord::Migration[5.2]
  def change
    create_table :decidim_gamification_badge_scores do |t|
      t.references :user, null: false
      t.string :badge_name, null: false
      t.integer :value, null: false, default: 0
    end
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

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