a
This commit is contained in:
parent
ad1efd40a9
commit
85438d7ac5
@ -133,7 +133,8 @@ module.exports = function (sequelize, DataTypes) {
|
||||
|
||||
defaultScope: {
|
||||
where: {
|
||||
state: 'publish'
|
||||
state: 'publish',
|
||||
typeId: { [Sequelize.Op.ne]: 2 },
|
||||
},
|
||||
include: [{
|
||||
model: sequelize.models.EventType,
|
||||
|
||||
@ -145,3 +145,13 @@ where lqdvi.level.partnerId = '2851f45a-287a-41cc-8258-d50ffe02699b'
|
||||
|
||||
|
||||
|
||||
|
||||
insert into events (id, name, description, init_date, init_available_date, end_available_date, gmt,
|
||||
assistants, confirmed, sold_out, allow_multiple, state, typeid, venueId, userId,
|
||||
createdAt, updatedAt)
|
||||
select UUID() as ID, 'Lista de espera - Sevilla 2019', description, now(), init_available_date, end_available_date, gmt,
|
||||
10000, 0, 0, 0, state, 2, venueId, userId, createdAt, updatedAt
|
||||
from lqdvi_v2.events
|
||||
where id = '5f772798-5616-4663-a661-b6484dd11bd7'
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user