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