Sha256: f752043d52867e22157e3c34fc37bb46d5e6ab103676ec3bc12078a05826f5eb

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 Bytes

Contents

# encoding: utf-8

class RemoveImagesets < ActiveRecord::Migration
  def self.up
    drop_table :imagesets
    drop_table :images_imagesets
  end

  def self.down
    create_table "images_imagesets" do |t|
      t.integer "relation_id"
      t.integer "imageset_id"
      t.integer "image_id"
      t.integer "position"
    end

    create_table "imagesets" do |t|
      t.string "name"
      t.text "description"
      t.datetime "created_at"
      t.integer "user_id"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_core-3.4.3 db/migrate/20130303160632_remove_imagesets.rb
pages_core-3.5.1 db/migrate/20130303160632_remove_imagesets.rb
pages_core-3.4.2 db/migrate/20130303160632_remove_imagesets.rb