Sha256: 8b96d2c67f6346b610b708fd984c5527a264d5bb373ab0f4cab79b23c374a0d8
Contents?: true
Size: 447 Bytes
Versions: 37
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true class AddTimestampsToContentBlocks < ActiveRecord::Migration[6.0] def up add_timestamps :decidim_content_blocks, default: Time.zone.now change_column_default :decidim_content_blocks, :created_at, nil change_column_default :decidim_content_blocks, :updated_at, nil end def down remove_column :decidim_content_blocks, :updated_at remove_column :decidim_content_blocks, :created_at end end
Version data entries
37 entries across 37 versions & 1 rubygems