diff --git a/changelog.d/20231220_171731_fahad.khalid_fahad_cairn_12.md b/changelog.d/20231220_171731_fahad.khalid_fahad_cairn_12.md new file mode 100644 index 0000000..7039974 --- /dev/null +++ b/changelog.d/20231220_171731_fahad.khalid_fahad_cairn_12.md @@ -0,0 +1 @@ +- 💥[Improvement] Convert `events.user_id` and `video_events.user_id` fields from Int64 to UInt64. (by @FahadKhalid210) \ No newline at end of file diff --git a/tutorcairn/templates/cairn/apps/clickhouse/migrations.d/0011_modify_events_type.sql b/tutorcairn/templates/cairn/apps/clickhouse/migrations.d/0011_modify_events_type.sql new file mode 100644 index 0000000..6aa0e85 --- /dev/null +++ b/tutorcairn/templates/cairn/apps/clickhouse/migrations.d/0011_modify_events_type.sql @@ -0,0 +1,5 @@ +ALTER TABLE events +MODIFY COLUMN user_id UInt64; + +ALTER TABLE video_events +MODIFY COLUMN user_id UInt64;