Sha256: 7175cc42468977f98d3d93de68594bdea4b0daa1ed4761e5df8eeec154db2ebe

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

class CreateCasSections < ActiveRecord::Migration[5.0]
  def change
    create_table :cas_sections, id: :uuid do |t|
      t.string :name, null: false
      t.string :section_type, null: false
      t.column :site_id, :uuid

      t.timestamps
    end
     add_index :cas_sections, :site_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cas-cms-0.1.0 db/migrate/20170219172958_create_cas_sections.rb