DEV: fix joining in the script for moving timestamps (PR #13721)

Without checking if t.table_schema = '#{@schema}' the SELECT with JOIN in the script were returning every column twice in case there is a ‘backup’ scheme with exactly the same tables as in the ‘public scheme’.

GitHub