Sha256: 7dc9f0320a194d17ffff61ba731d2971c07125180113e99d9fed38e797c08c5d

Contents?: true

Size: 417 Bytes

Versions: 15

Compression:

Stored size: 417 Bytes

Contents

class CreateProjects < ActiveRecord::Migration[5.0]
  def change
    create_table :decidim_budgets_projects do |t|
      t.jsonb :title
      t.jsonb :description
      t.jsonb :short_description
      t.integer :budget, null: false
      t.references :decidim_feature, index: true
      t.references :decidim_scope, index: true
      t.references :decidim_category, index: true

      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
decidim-budgets-0.2.0 db/migrate/20170127114122_create_projects.rb
decidim-0.2.0 decidim-budgets/db/migrate/20170127114122_create_projects.rb
decidim-budgets-0.1.0 db/migrate/20170127114122_create_projects.rb
decidim-0.1.0 decidim-budgets/db/migrate/20170127114122_create_projects.rb
decidim-budgets-0.0.8.1 db/migrate/20170127114122_create_projects.rb
decidim-0.0.8.1 decidim-budgets/db/migrate/20170127114122_create_projects.rb
decidim-budgets-0.0.7 db/migrate/20170127114122_create_projects.rb
decidim-0.0.7 decidim-budgets/db/migrate/20170127114122_create_projects.rb
decidim-budgets-0.0.6 db/migrate/20170127114122_create_projects.rb
decidim-0.0.6 decidim-budgets/db/migrate/20170127114122_create_projects.rb
decidim-budgets-0.0.5 db/migrate/20170127114122_create_projects.rb
decidim-0.0.5 decidim-budgets/db/migrate/20170127114122_create_projects.rb
decidim-0.0.4 decidim-budgets/db/migrate/20170127114122_create_projects.rb
decidim-budgets-0.0.3 db/migrate/20170127114122_create_projects.rb
decidim-0.0.3 decidim-budgets/db/migrate/20170127114122_create_projects.rb