Sha256: 6561c5435d375d98fa365fa08cca360510b1aa7ffb6e3fa432726e0e4d8d16b1

Contents?: true

Size: 453 Bytes

Versions: 142

Compression:

Stored size: 453 Bytes

Contents

# frozen_string_literal: true

class CreateOrders < ActiveRecord::Migration[5.0]
  def change
    create_table :decidim_budgets_orders do |t|
      t.references :decidim_user, index: true
      t.references :decidim_feature, index: true
      t.datetime :checked_out_at

      t.timestamps
    end

    add_index :decidim_budgets_orders, [:decidim_user_id, :decidim_feature_id], unique: true, name: "decidim_budgets_order_user_feature_unique"
  end
end

Version data entries

142 entries across 142 versions & 2 rubygems

Version Path
decidim-budgets-0.26.8 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.27.4 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.27.3 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.26.7 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.26.5 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.27.2 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.27.1 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.26.4 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.27.0 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.26.3 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.27.0.rc2 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.27.0.rc1 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.26.2 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.26.1 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.26.0 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.26.0.rc2 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.26.0.rc1 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.25.2 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.25.1 db/migrate/20170130095615_create_orders.rb
decidim-budgets-0.25.0 db/migrate/20170130095615_create_orders.rb