Sha256: 717efdc4d8a4fe070ba846cea277b93e671d81126ec0bbfad469532f36036f82
Contents?: true
Size: 518 Bytes
Versions: 8
Compression:
Stored size: 518 Bytes
Contents
class CreatePhotos < ActiveRecord::Migration def self.up create_table "refinery_photo_gallery_photos" do |t| t.string :title, :length => 250, :null => false t.text :description t.string :path, :length => 100, :null=> true t.decimal :longitude, :precision => 15, :scale => 10 t.decimal :latitude, :precision => 15, :scale => 10 t.string :file t.references :album t.timestamps end end def self.down drop_table "refinery_photo_gallery_photos" end end
Version data entries
8 entries across 8 versions & 2 rubygems