Sha256: 1315d6e534ddb5606eca27ab7f2a4c6fc4d621db755c9308ab21c48f08514159
Contents?: true
Size: 433 Bytes
Versions: 76
Compression:
Stored size: 433 Bytes
Contents
# frozen_string_literal: true class AddWelcomeNotification < ActiveRecord::Migration[5.2] def change change_table :decidim_organizations do |t| t.boolean :send_welcome_notification, null: false, default: false t.jsonb :welcome_notification_subject, null: true t.jsonb :welcome_notification_body, null: true end execute "UPDATE decidim_organizations SET send_welcome_notification = 'true'" end end
Version data entries
76 entries across 76 versions & 1 rubygems