Schema to include date instead of long