Sha256: 575c8950260cfe4a7f7c419edce82ba11e2324ad00ce930e9deb6335324d0e1c

Contents?: true

Size: 301 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
cas-cms-1.0.0.alpha2 db/migrate/20170219172958_create_cas_sections.rb
cas-cms-1.0.0.alpha1 db/migrate/20170219172958_create_cas_sections.rb
cas-cms-0.1.3 db/migrate/20170219172958_create_cas_sections.rb
cas-cms-0.1.2 db/migrate/20170219172958_create_cas_sections.rb
cas-cms-0.1.1 db/migrate/20170219172958_create_cas_sections.rb