Sha256: 1452742035c0ba6db20491301a4d304843dd7364ee70cb5d4e700df9bb8acab7
Contents?: true
Size: 543 Bytes
Versions: 8
Compression:
Stored size: 543 Bytes
Contents
class CreateAlbums < ActiveRecord::Migration def self.up create_table "refinery_photo_gallery_albums" do |t| t.string :title, :length => 250, :null => false t.text :description t.string :path, :length => 100, :null=> true t.string :address, :length => 200, :null=> true t.decimal :longitude, :precision => 15, :scale => 10 t.decimal :latitude, :precision => 15, :scale => 10 t.text :note t.timestamps end end def self.down drop_table "refinery_photo_gallery_albums" end end
Version data entries
8 entries across 8 versions & 2 rubygems