race

User-defined type that contains three fields for a race name, date, and time.

User-defined type that contains three fields for race name, date, and time.

SOURCE '0_create_keyspace.cql';

// START-drop
DROP TYPE IF EXISTS cycling.race;
// END-drop

// START-racetype
CREATE TYPE IF NOT EXISTS cycling.race (
  race_title text,
  race_date timestamp,
  race_time text
);
// END-racetype