Sha256: 1591a73535013d719eb0cb5f5f0f9c182fe52a8394166d7d60553c8fef951387
Contents?: true
Size: 636 Bytes
Versions: 2
Compression:
Stored size: 636 Bytes
Contents
# frozen_string_literal: true class CreateDecidimCalendarExternalEvents < ActiveRecord::Migration[5.2] def change create_table :decidim_calendar_external_events do |t| t.jsonb :title, null: false t.datetime :start_at, null: false t.datetime :end_at, null: false t.string :url t.integer :decidim_author_id, null: false t.string :decidim_author_type t.integer :decidim_organization_id, null: false t.index :decidim_author_id, name: :decidim_calendar_external_event_author t.index :decidim_organization_id, name: :decidim_calendar_external_event_organization end end end
Version data entries
2 entries across 2 versions & 1 rubygems