text: # Standard Library imports
  
  # Core Flask imports
  
  # Third-party imports
  from sqlalchemy.sql import expression
  from sqlalchemy.ext.compiler import compiles
  from sqlalchemy.types import DateTime
  
  # App imports
  
  class utcnow(expression.FunctionElement):
      type = DateTime()
  
  @compiles(utcnow, 'postgresql')
  def pg_utcnow(element, compiler, **kw):
      return "TIMEZONE('utc', CURRENT_TIMESTAMP)"