create table event
(
    id              int auto_increment
        primary key,
    venue_id        int          null,
    title           varchar(255) not null,
    description     longtext     not null,
    start_date      datetime     not null,
    end_date        datetime     not null,
    available_until date         not null,
    slug            varchar(255) not null,
    updated_at      datetime     null,
    image           varchar(255) null,
    constraint FK_3BAE0AA740A73EBA
        foreign key (venue_id) references event_venue (id)
)
    collate = utf8mb4_unicode_ci;

create index IDX_3BAE0AA740A73EBA
    on event (venue_id);

INSERT INTO zedach.event (id, venue_id, title, description, start_date, end_date, available_until, slug, updated_at, image) VALUES (5, 3, 'htaccess dev con', 'show us your skills', '2020-03-19 16:08:26', '2020-03-19 16:08:26', '2020-03-19', 'htaccess-dev-con', '2020-03-19 16:08:26', null);