Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
TelegramBot
Commits
9bd4036a
Commit
9bd4036a
authored
Jun 03, 2017
by
Jack'lul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix structure issue in message table
parent
2548de1f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
structure.sql
structure.sql
+0
-2
No files found.
structure.sql
View file @
9bd4036a
...
...
@@ -108,7 +108,6 @@ CREATE TABLE IF NOT EXISTS `message` (
KEY
`forward_from_chat`
(
`forward_from_chat`
),
KEY
`reply_to_chat`
(
`reply_to_chat`
),
KEY
`reply_to_message`
(
`reply_to_message`
),
KEY
`new_chat_member`
(
`new_chat_member`
),
KEY
`left_chat_member`
(
`left_chat_member`
),
KEY
`migrate_from_chat_id`
(
`migrate_from_chat_id`
),
KEY
`migrate_to_chat_id`
(
`migrate_to_chat_id`
),
...
...
@@ -119,7 +118,6 @@ CREATE TABLE IF NOT EXISTS `message` (
FOREIGN
KEY
(
`forward_from_chat`
)
REFERENCES
`chat`
(
`id`
),
FOREIGN
KEY
(
`reply_to_chat`
,
`reply_to_message`
)
REFERENCES
`message`
(
`chat_id`
,
`id`
),
FOREIGN
KEY
(
`forward_from`
)
REFERENCES
`user`
(
`id`
),
FOREIGN
KEY
(
`new_chat_member`
)
REFERENCES
`user`
(
`id`
),
FOREIGN
KEY
(
`left_chat_member`
)
REFERENCES
`user`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_520_ci
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment