migrated db for pictures model