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

Version Path
decidim-conferences-0.29.1 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.28.4 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.27.9 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.29.0 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.28.3 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.27.8 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.29.0.rc4 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.29.0.rc3 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.29.0.rc2 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.29.0.rc1 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.28.2 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.27.7 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.28.1 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.27.6 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.26.10 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.26.9 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.28.0 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.27.5 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.28.0.rc5 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.28.0.rc4 db/migrate/20181004144411_add_conferences_partner.rb