# Class Keys

java.lang.Object
com.io7m.stonesignal.server.database.internal.Keys

public class Keys extends Object
A class modelling foreign key relationships and constraints of tables in the default schema.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final org.jooq.UniqueKey<SchemaVersionRecord>`
  `CHECK_LOCK_PRIMARY`
  `static final org.jooq.UniqueKey<DevicesRecord>`
  `DEVICE_ID_PRIMARY_KEY`
  `static final org.jooq.UniqueKey<DevicesRecord>`
  `DEVICE_KEY_UNIQUE`
  `static final org.jooq.ForeignKey<DeviceLocationUpdatesRecord,DevicesRecord>`
  `DEVICE_LOCATION_UPDATES_DEVICE_EXISTS`
  `static final org.jooq.UniqueKey<DeviceLocationUpdatesRecord>`
  `DEVICE_LOCATION_UPDATES_ID_PRIMARY_KEY`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Keys()`

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### DEVICE_LOCATION_UPDATES_ID_PRIMARY_KEY

    public static final org.jooq.UniqueKey<DeviceLocationUpdatesRecord> DEVICE_LOCATION_UPDATES_ID_PRIMARY_KEY

  - ### DEVICE_ID_PRIMARY_KEY

    public static final org.jooq.UniqueKey<DevicesRecord> DEVICE_ID_PRIMARY_KEY

  - ### DEVICE_KEY_UNIQUE

    public static final org.jooq.UniqueKey<DevicesRecord> DEVICE_KEY_UNIQUE

  - ### CHECK_LOCK_PRIMARY

    public static final org.jooq.UniqueKey<SchemaVersionRecord> CHECK_LOCK_PRIMARY

  - ### DEVICE_LOCATION_UPDATES_DEVICE_EXISTS

    public static final org.jooq.ForeignKey<DeviceLocationUpdatesRecord,DevicesRecord> DEVICE_LOCATION_UPDATES_DEVICE_EXISTS

- ## Constructor Details

  - ### Keys

    public Keys()