Remove danging :photos table and other photo cruft
This commit is contained in:
parent
1ce834391a
commit
ae55c2772f
7 changed files with 15 additions and 37 deletions
13
db/migrate/20160427101444_remove_photos.rb
Normal file
13
db/migrate/20160427101444_remove_photos.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class RemovePhotos < ActiveRecord::Migration
|
||||
def change
|
||||
drop_table :photos do |t|
|
||||
t.text :description
|
||||
t.string :picture_file_name
|
||||
t.string :picture_content_type
|
||||
t.integer :picture_file_size
|
||||
t.datetime :picture_updated_at
|
||||
t.belongs_to :conference
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue