Sha256: 301b52c1974e88ef8f441fca5d2f73fa2ef6766d445a47f2e9a137199f34f3cb

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

class CreateC80SwiperSframes < ActiveRecord::Migration
  def change
    create_table :c80_swiper_sframes, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.string :title
      t.string :link_url
      t.string :image
      t.integer :ord
      t.boolean :enabled, default: true
      t.references :swslider, index: true

      t.timestamps null: false
    end
    # add_foreign_key :c80_swiper_sframes, :swsliders
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
c80_swiper-0.1.0.1 db/migrate/20161111042457_create_c80_swiper_sframes.rb
c80_swiper-0.1.0 db/migrate/20161111042457_create_c80_swiper_sframes.rb