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.25.0.rc4 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.25.0.rc3 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.25.0.rc2 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.25.0.rc1 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.24.3 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.23.6 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.24.2 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.23.5 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.24.1 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.24.0 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.24.0.rc2 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.23.4 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.24.0.rc1 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.23.3 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.23.2 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.23.1 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.23.1.rc1 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.23.0 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.22.0 db/migrate/20181004144411_add_conferences_partner.rb
decidim-conferences-0.21.0 db/migrate/20181004144411_add_conferences_partner.rb