Sha256: 63dc9b7de664f4638f3220fd6f26bf0d21d28146fbb77857709ac94da4c5bf09
Contents?: true
Size: 1.25 KB
Versions: 73
Compression:
Stored size: 1.25 KB
Contents
# frozen_string_literal: true class AddConferences < ActiveRecord::Migration[5.2] def change create_table :decidim_conferences do |t| t.jsonb :title, null: false t.jsonb :slogan, null: false t.string :slug, null: false t.string :hashtag t.string :reference t.string :location t.integer :decidim_organization_id, foreign_key: true, index: { name: "index_decidim_conferences_on_decidim_organization_id" } t.jsonb :short_description, null: false t.jsonb :description, null: false t.string :hero_image t.string :banner_image t.boolean :promoted, default: false t.datetime :published_at t.jsonb :objectives, null: false t.boolean :show_statistics, default: false t.date :start_date t.date :end_date t.boolean :scopes_enabled, null: false, default: true t.integer :decidim_scope_id t.boolean :registrations_enabled, null: false, default: false t.integer :available_slots, null: false, default: 0 t.jsonb :registration_terms t.index [:decidim_organization_id, :slug], name: "index_unique_conference_slug_and_organization", unique: true t.timestamps end end end
Version data entries
73 entries across 73 versions & 1 rubygems