package
0.0.0-20210209193608-ea7e623539bd
Repository: https://github.com/danieltitkov/anomaly-detection-service.git
Documentation: pkg.go.dev

# Functions

NewSchema creates a new schema client.

# Variables

AnomaliesColumns holds the columns for the "anomalies" table.
AnomaliesTable holds the schema information for the "anomalies" table.
DetectionJobInstancesColumns holds the columns for the "detection_job_instances" table.
DetectionJobInstancesTable holds the schema information for the "detection_job_instances" table.
DetectionJobsColumns holds the columns for the "detection_jobs" table.
DetectionJobsTable holds the schema information for the "detection_jobs" table.
Tables holds all the tables in the schema.
WithDropColumn sets the drop column option to the migration.
WithDropIndex sets the drop index option to the migration.
WithFixture sets the foreign-key renaming option to the migration when upgrading ent from v0.1.0 (issue-#285).
WithForeignKeys enables creating foreign-key in schema DDL.
WithGlobalUniqueID sets the universal ids options to the migration.

# Structs

Schema is the API for creating, migrating and dropping a schema.