Skip to content

Commit

Permalink
Fix column type in comment with schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
prefiks committed Jul 18, 2024
1 parent 9bd1b39 commit d2a3fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ CREATE INDEX i_timestamp USING BTREE ON archive(timestamp);
CREATE INDEX i_archive_username_origin_id USING BTREE ON archive(username(191), origin_id(191));

-- To update 'archive' from ejabberd <= 23.10:
-- ALTER TABLE archive ADD COLUMN origin_id origin_id(191) NOT NULL DEFAULT '';
-- ALTER TABLE archive ADD COLUMN origin_id varchar(191) NOT NULL DEFAULT '';
-- ALTER TABLE archive ALTER COLUMN origin_id DROP DEFAULT;
-- CREATE INDEX i_archive_username_origin_id USING BTREE ON archive(username(191), origin_id(191));

Expand Down

0 comments on commit d2a3fe3

Please sign in to comment.