class CreateTablesForTesting < ActiveRecord::Migration
  def self.up
    create_table "users", :force => true do |t|
      t.column "name",  :text
      t.column "email", :text
      t.column "avatar_uid", :string
    end

    create_table "images", :force => true do |t|
      t.column "title",  :text
      t.column "description", :text
      t.column "image_uid", :string
    end

    create_table "custom_images", :force => true do |t|
      t.column "title",  :text
      t.column "description", :text
      t.column "custom_image_uid", :string
    end
  end

  def self.down
    drop_table :users
    drop_table :images
    drop_table :custom_images
  end
end