danielle_app/db/migrate/20130707222341_create_photos.rb
2013-07-17 11:44:52 +02:00

16 lines
303 B
Ruby

class CreatePhotos < ActiveRecord::Migration
def change
create_table :photos do |t|
t.string :title
t.text :description
t.integer :position
t.string :tag
t.string :tags_cache
t.string :tags_cache_slug
t.string :image
t.timestamps
end
end
end