package
1.1.7
Repository: https://github.com/tinygodsdev/orrery.git
Documentation: pkg.go.dev

# Functions

NewSchema creates a new schema client.

# Variables

InterpretationsColumns holds the columns for the "interpretations" table.
InterpretationsTable holds the schema information for the "interpretations" table.
InterpretationTranslationsColumns holds the columns for the "interpretation_translations" table.
InterpretationTranslationsTable holds the schema information for the "interpretation_translations" table.
ItemsColumns holds the columns for the "items" table.
ItemsTable holds the schema information for the "items" table.
ItemTranslationsColumns holds the columns for the "item_translations" table.
ItemTranslationsTable holds the schema information for the "item_translations" table.
NormsColumns holds the columns for the "norms" table.
NormsTable holds the schema information for the "norms" table.
QuestionItemsColumns holds the columns for the "question_items" table.
QuestionItemsTable holds the schema information for the "question_items" table.
QuestionsColumns holds the columns for the "questions" table.
QuestionsTable holds the schema information for the "questions" table.
QuestionTranslationsColumns holds the columns for the "question_translations" table.
QuestionTranslationsTable holds the schema information for the "question_translations" table.
ResponsesColumns holds the columns for the "responses" table.
ResponsesTable holds the schema information for the "responses" table.
ResultsColumns holds the columns for the "results" table.
ResultsTable holds the schema information for the "results" table.
SamplesColumns holds the columns for the "samples" table.
SamplesTable holds the schema information for the "samples" table.
ScaleItemsColumns holds the columns for the "scale_items" table.
ScaleItemsTable holds the schema information for the "scale_items" table.
ScalesColumns holds the columns for the "scales" table.
ScalesTable holds the schema information for the "scales" table.
ScaleTranslationsColumns holds the columns for the "scale_translations" table.
ScaleTranslationsTable holds the schema information for the "scale_translations" table.
Tables holds all the tables in the schema.
TagsColumns holds the columns for the "tags" table.
TagsTable holds the schema information for the "tags" table.
TagTranslationsColumns holds the columns for the "tag_translations" table.
TagTranslationsTable holds the schema information for the "tag_translations" table.
TakesColumns holds the columns for the "takes" table.
TakesTable holds the schema information for the "takes" table.
TestDisplaysColumns holds the columns for the "test_displays" table.
TestDisplaysTable holds the schema information for the "test_displays" table.
TestQuestionsColumns holds the columns for the "test_questions" table.
TestQuestionsTable holds the schema information for the "test_questions" table.
TestScalesColumns holds the columns for the "test_scales" table.
TestScalesTable holds the schema information for the "test_scales" table.
TestsColumns holds the columns for the "tests" table.
TestsTable holds the schema information for the "tests" table.
TestTagsColumns holds the columns for the "test_tags" table.
TestTagsTable holds the schema information for the "test_tags" table.
TestTranslationsColumns holds the columns for the "test_translations" table.
TestTranslationsTable holds the schema information for the "test_translations" table.
UsersColumns holds the columns for the "users" table.
UserSessionsColumns holds the columns for the "user_sessions" table.
UserSessionsTable holds the schema information for the "user_sessions" table.
UsersTable holds the schema information for the "users" table.
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.