[SQL,  Sqlite / Postgres / MsSql] Fix Snapshots.BucketId column type to match Commits.BucketId (varchar(40)) //cc #349