Sha256: 4c8ff2d7a8da93d3f433b2565b44a2321dc983febfcabc5d14b07b2b2d703a8e
Contents?: true
Size: 598 Bytes
Versions: 5
Compression:
Stored size: 598 Bytes
Contents
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
5 entries across 5 versions & 1 rubygems