Sha256: f7465e2a3578e64a721d3956a8960d386573073a63165b54715a6fb066bed979
Contents?: true
Size: 629 Bytes
Versions: 134
Compression:
Stored size: 629 Bytes
Contents
# frozen_string_literal: true class CreateModerations < ActiveRecord::Migration[5.0] def change create_table :decidim_moderations do |t| t.references :decidim_participatory_process, null: false, index: { name: "decidim_moderations_participatory_process" } t.references :decidim_reportable, null: false, polymorphic: true, index: { unique: true, name: "decidim_moderations_reportable" } t.integer :report_count, null: false, default: 0, index: { name: "decidim_moderations_report_count" } t.datetime :hidden_at, index: { name: "decidim_moderations_hidden_at" } t.timestamps end end end
Version data entries
134 entries across 134 versions & 2 rubygems