Sha256: 62d2117fed33177ac1258f6599a754bba2f4f313d2cc533e00deaae42bb353f3
Contents?: true
Size: 508 Bytes
Versions: 37
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true class AddCommentsAvailabilityColumnsToMeetingsTable < ActiveRecord::Migration[6.0] def change add_column :decidim_meetings_meetings, :comments_enabled, :boolean, default: true add_column :decidim_meetings_meetings, :comments_start_time, :datetime add_column :decidim_meetings_meetings, :comments_end_time, :datetime reversible do |dir| dir.up do execute "UPDATE decidim_meetings_meetings set comments_enabled = true" end end end end
Version data entries
37 entries across 37 versions & 1 rubygems