ActiveRecord::Schema.define(version: 0) do

    create_table :mogile_images do |t|
      t.string     :name,       limit: 32
      t.string     :image_type, limit: 3
      t.integer    :size
      t.integer    :width
      t.integer    :height
      t.integer    :refcount
      t.datetime   :keep_till
      t.timestamps null: false
    end

    add_index :mogile_images, [:name]
    add_index :mogile_images, [:keep_till]

end
