Files
bm/public_html/migration/03_user.sql
2025-09-24 13:26:28 +02:00

31 lines
528 B
SQL

UPDATE old.bruckm_ticketcustomer
SET email=concat(firstname,".",surname,"@fakemail.at")
WHERE email = "";
INSERT IGNORE INTO bm.users (
title,
firstname,
lastname,
street,
location,
phone,
admin,
email,
password,
resetPw)
SELECT
acad as title,
firstname,
surname as lastname,
address as street,
concat(zip, city) as location,
phone,
0,
email,
"not yet setlusahgluhgugwhlahlglksghehgiuhghl",
1
FROM old.bruckm_ticketcustomer;