active record migration - changed data types

datetime to date