mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-23 00:34:20 +01:00
41e8d135a8
The columns referred to in this PR, were for some reason created with defaults. When created years ago, they were `bigserial` not `bigint`. The defaults were never actually used, as verified by 1. Checking the value of the sequences on the database 2. Checking the code So we're safe to clean them up.
5 lines
212 B
SQL
5 lines
212 B
SQL
-- Add migration script here
|
|
alter table history alter column user_id drop default;
|
|
alter table sessions alter column user_id drop default;
|
|
alter table total_history_count_user alter column user_id drop default;
|