Перейти к основному содержимому

bot_table_columns

bot_table_columns

Таблица bot_table_columns — колонки пользовательской таблицы

Columns

NameTypeDefaultNullableChildrenParentsComment
idserial-NO--Уникальный идентификатор колонки
table_idinteger-NO-bot_tables.idИдентификатор таблицы
namevarchar(255)-NO--Название колонки
positioninteger0NO--Позиция колонки (для сортировки)

Constraints

NameTypeDefinition
fk_table_id_bot_tablesFOREIGN KEY(table_id) → bot_tables(id)

Relations

ParentChildType
bot_tables.idbot_table_columns.table_idMany to One