mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-06-02 21:28:57 -04:00
Merge pull request #211 from Skud/photos-fix
changed flickr_photo_id to string
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class ChangeFlickrPhotoIdToString < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :photos, :flickr_photo_id, :string
|
||||
end
|
||||
def down
|
||||
change_column :photos, :flickr_photo_id, :integer
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20130531110729) do
|
||||
ActiveRecord::Schema.define(:version => 20130601011725) do
|
||||
|
||||
create_table "authentications", :force => true do |t|
|
||||
t.integer "member_id", :null => false
|
||||
@@ -123,7 +123,7 @@ ActiveRecord::Schema.define(:version => 20130531110729) do
|
||||
|
||||
create_table "photos", :force => true do |t|
|
||||
t.integer "owner_id", :null => false
|
||||
t.integer "flickr_photo_id", :null => false
|
||||
t.string "flickr_photo_id", :null => false
|
||||
t.string "thumbnail_url", :null => false
|
||||
t.string "fullsize_url", :null => false
|
||||
t.datetime "created_at", :null => false
|
||||
|
||||
Reference in New Issue
Block a user