package
0.0.0-20240513023348-5feaf8d2ad78
Repository: https://github.com/go-faster/bot.git
Documentation: pkg.go.dev
# Functions
Create creates all table resources using the given schema driver.
Diff compares the state read from a database connection or migration directory with the state defined by the Ent schema.
NamedDiff compares the state read from a database connection or migration directory with the state defined by the Ent schema.
NewSchema creates a new schema client.
# Variables
ChecksColumns holds the columns for the "checks" table.
ChecksTable holds the schema information for the "checks" table.
GitCommitsColumns holds the columns for the "git_commits" table.
GitCommitsTable holds the schema information for the "git_commits" table.
GptDialogsColumns holds the columns for the "gpt_dialogs" table.
GptDialogsTable holds the schema information for the "gpt_dialogs" table.
LastChannelMessagesColumns holds the columns for the "last_channel_messages" table.
LastChannelMessagesTable holds the schema information for the "last_channel_messages" table.
OrganizationsColumns holds the columns for the "organizations" table.
OrganizationsTable holds the schema information for the "organizations" table.
PrNotificationsColumns holds the columns for the "pr_notifications" table.
PrNotificationsTable holds the schema information for the "pr_notifications" table.
RepositoriesColumns holds the columns for the "repositories" table.
RepositoriesTable holds the schema information for the "repositories" table.
Tables holds all the tables in the schema.
TelegramChannelStatesColumns holds the columns for the "telegram_channel_states" table.
TelegramChannelStatesTable holds the schema information for the "telegram_channel_states" table.
TelegramSessionsColumns holds the columns for the "telegram_sessions" table.
TelegramSessionsTable holds the schema information for the "telegram_sessions" table.
TelegramUserStatesColumns holds the columns for the "telegram_user_states" table.
TelegramUserStatesTable holds the schema information for the "telegram_user_states" table.
UsersColumns holds the columns for the "users" 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.
WithForeignKeys enables creating foreign-key in schema DDL.
WithGlobalUniqueID sets the universal ids options to the migration.