Sha256: 372b7d5fdce548412429cca4868154866c26fe78636541179a0e15eb62274360
Contents?: true
Size: 1.24 KB
Versions: 78
Compression:
Stored size: 1.24 KB
Contents
# frozen_string_literal: true class CreateDecidimProposalsCollaborativeDrafts < ActiveRecord::Migration[5.1] def change create_table :decidim_proposals_collaborative_drafts do |t| t.text "title", null: false t.text "body", null: false t.integer "decidim_component_id", null: false t.integer "decidim_scope_id" t.string "state" t.string "reference" t.text "address" t.float "latitude" t.float "longitude" t.datetime "published_at" t.integer "authors_count", default: 0, null: false t.integer "versions_count", default: 0, null: false t.integer "contributions_count", default: 0, null: false t.index ["body"], name: "decidim_proposals_collaborative_draft_body_search" t.index ["updated_at"], name: "decidim_proposals_collaborative_drafts_on_updated_at" t.index ["decidim_component_id"], name: "decidim_proposals_collaborative_drafts_on_decidim_component_id" t.index ["decidim_scope_id"], name: "decidim_proposals_collaborative_drafts_on_decidim_scope_id" t.index ["state"], name: "decidim_proposals_collaborative_drafts_on_state" t.index ["title"], name: "decidim_proposals_collaborative_drafts_title_search" t.timestamps end end end
Version data entries
78 entries across 78 versions & 1 rubygems