forked from verdnatura/hedera-web
27 lines
489 B
MySQL
27 lines
489 B
MySQL
|
|
||
|
INSERT INTO vn2008.Clientes SET
|
||
|
cliente = #tradename
|
||
|
,razonsocial = #business-name
|
||
|
,`if` = #nif
|
||
|
,telefono = #phone
|
||
|
,movil = #mobile
|
||
|
,`e-mail` = #email
|
||
|
,contacto = #contact
|
||
|
,re = #es
|
||
|
,domicilio = #address
|
||
|
,poblacion = #city
|
||
|
,codpostal = #pc
|
||
|
,id_pais = #country
|
||
|
,province_id = #province
|
||
|
,chanel_id = NULL -- How did he find us?
|
||
|
,activo = FALSE;
|
||
|
|
||
|
SET @id := LAST_INSERT_ID();
|
||
|
|
||
|
INSERT INTO account.user SET
|
||
|
id = @id,
|
||
|
name = #user,
|
||
|
password = #password,
|
||
|
active = FALSE;
|
||
|
|