Sha256: 377f36eddc01cd6cd7d406609b2a879a4d598f4e6522a9a188d604d0b262be26

Contents?: true

Size: 322 Bytes

Versions: 5

Compression:

Stored size: 322 Bytes

Contents

class CreateVimeoEmbedCache < ActiveRecord::Migration

  def self.up
    create_table :vimeo_embed_cache do |t|
      t.integer :vid
      t.string :code
      t.text :configuration
      t.timestamps
    end
    
    add_index :vimeo_embed_cache, [:vid]
  end

  def self.down
    drop_table :vimeo_embed_cache
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-vimeo-videos-0.1.6 db/migrate/create_vimeo_embed_cache.rb
refinerycms-vimeo-videos-0.1.5 db/migrate/create_vimeo_embed_cache.rb
refinerycms-vimeo-videos-0.1.4 db/migrate/create_vimeo_embed_cache.rb
refinerycms-vimeo-videos-0.1.3 db/migrate/create_vimeo_embed_cache.rb
refinerycms-vimeo-videos-0.1.2 db/migrate/create_vimeo_embed_cache.rb