Sha256: 8920d51003b6830f2fc5f8c93d86fc9b33cb3859b379b3e7cef1a0716b19b46d

Contents?: true

Size: 418 Bytes

Versions: 59

Compression:

Stored size: 418 Bytes

Contents

class CreateParaComponents < ActiveRecord::Migration
  def up
    execute 'CREATE EXTENSION IF NOT EXISTS hstore'

    create_table :para_components do |t|
      t.string :type
      t.string :name
      t.hstore :configuration, default: '', null: false
      t.integer :position, default: 0
      t.integer :component_section_id

      t.timestamps
    end
  end

  def down
    drop_table :para_components
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
para-0.12.4 db/migrate/20140911091225_create_para_components.rb
para-0.12.3 db/migrate/20140911091225_create_para_components.rb
para-0.12.2 db/migrate/20140911091225_create_para_components.rb
para-0.12.1 db/migrate/20140911091225_create_para_components.rb
para-0.12.0 db/migrate/20140911091225_create_para_components.rb
para-0.11.4 db/migrate/20140911091225_create_para_components.rb
para-0.11.3 db/migrate/20140911091225_create_para_components.rb
para-0.11.2 db/migrate/20140911091225_create_para_components.rb
para-0.11.1 db/migrate/20140911091225_create_para_components.rb
para-0.11.0 db/migrate/20140911091225_create_para_components.rb
para-0.10.0 db/migrate/20140911091225_create_para_components.rb
para-0.9.4 db/migrate/20140911091225_create_para_components.rb
para-0.9.3.3 db/migrate/20140911091225_create_para_components.rb
para-0.9.3.2 db/migrate/20140911091225_create_para_components.rb
para-0.9.3.1 db/migrate/20140911091225_create_para_components.rb
para-0.9.2 db/migrate/20140911091225_create_para_components.rb
para-0.9.0 db/migrate/20140911091225_create_para_components.rb
para-0.8.15 db/migrate/20140911091225_create_para_components.rb
para-0.8.14 db/migrate/20140911091225_create_para_components.rb
para-0.8.13 db/migrate/20140911091225_create_para_components.rb