Sha256: f8dd017dfecb8a9e7102d7e48c47788f791a84b820f03122d4e7ed93c02fdeaa
Contents?: true
Size: 498 Bytes
Versions: 73
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true class AddConferencesPartner < ActiveRecord::Migration[5.2] def change create_table :decidim_conferences_partners do |t| t.references :decidim_conference, index: true t.string :name, null: false t.string :partner_type, null: false t.integer :weight, null: false, default: 0 t.string :link t.string :logo, null: false t.timestamps end add_index :decidim_conferences_partners, [:weight, :partner_type] end end
Version data entries
73 entries across 73 versions & 1 rubygems