Sha256: c34da6451515d2d28d884aa1140836831fba1c40e6492a11fb908dcf50412a4f

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

class CreateCountryPhones < ActiveRecord::Migration
  def change
    create_table :country_phones do |t|
      t.string      :title
      t.string      :value
      t.integer     :sort_order, limit: 1, default: 1

      t.timestamps
    end

    add_index :country_phones, :sort_order
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 db/migrate/20140801000001_create_country_phones.rb