a
This commit is contained in:
parent
6a2367c570
commit
8ad1465c7d
24
script-carga-evento-THDVI.sql
Normal file
24
script-carga-evento-THDVI.sql
Normal file
@ -0,0 +1,24 @@
|
||||
***** Insertar evento THDVI
|
||||
|
||||
insert into lqdvi_v2.`events` (id, name, description, init_date, assistants, state, typeId,
|
||||
CreatedAt, UpdatedAt, city)
|
||||
select UUID() as ID, 'Edición Madrid 2015', 'Maravillosa 1ª edición del voluntariado Tu historia de verdad importa, #THDVI. Gracias a los narradores, a los protagonistas, y a todas aquellas personas que lo han hecho posible', '2015-01-02 06:00:00', '50', 'publish', '4', '2019-07-26 11:28:58', '2019-07-26 11:28:58', 'Madrid'
|
||||
from aux_table
|
||||
|
||||
**********Insertar multimedia asociado
|
||||
insert into lqdvi_v2.`multimedia_files` (id, lqdvi_v2.`multimedia_files`.name, description, class, provider, lqdvi_v2.`multimedia_files`.code,
|
||||
url, userId, CreatedAt, UpdatedAt)
|
||||
|
||||
SELECT UUID() as ID, 'THDVI - 1 Edición Madrid' , 'Making of 1ª edición, Os presentamos el resultado de la maravillosa 1ª edición del voluntariado Tu historia de verdad importa. Gracias a los narradores, a los protagonistas, y a todas aquellas personas que han hecho posible',
|
||||
'video','vimeo', '320555321', 'https://player.vimeo.com/video/320555321', 'ecf7dda2-258c-458d-a41f-de07a9cfb6eb', now(), now()
|
||||
FROM lqdvi_v2.aux_table
|
||||
|
||||
insert into lqdvi_v2.multimedias (id, multimediafileId, entityId, entityName, type, createdAt, updatedat)
|
||||
|
||||
select UUID() as ID, 'd7cc286d-c50a-11e9-86a6-000c295f0f58', '0998e0c5-c4ce-11e9-86a6-000c295f0f58', 'event', 'resume', now(), now()
|
||||
FROM lqdvi_v2.aux_table
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user