Sha256: 77427b8ae9b51d6605c016f23637ecdc54c123491001e06f441a393d1d48b14c
Contents?: true
Size: 427 Bytes
Versions: 49
Compression:
Stored size: 427 Bytes
Contents
# frozen_string_literal: true class AddNotificationTypesToUsers < ActiveRecord::Migration[5.2] def change add_column :decidim_users, :notification_types, :string, default: "all" # rubocop:disable Rails/SkipsModelValidations Decidim::UserBaseEntity.update_all(notification_types: "all") # rubocop:enable Rails/SkipsModelValidations change_column_null :decidim_users, :notification_types, false end end
Version data entries
49 entries across 49 versions & 1 rubygems