-- DDL generated by Hibernate 7.4.13.Final for H2, @MappedSuperclass AuditedBase + Invoice + Receipt


    create sequence mp_invoice_SEQ start with 1 increment by 50;

    create sequence mp_receipt_SEQ start with 1 increment by 50;

    create table mp_invoice (
        version integer not null,
        created_at timestamp(6) with time zone not null,
        id bigint not null,
        number varchar(20) not null,
        primary key (id)
    );

    create table mp_receipt (
        version integer not null,
        created_at timestamp(6) with time zone not null,
        id bigint not null,
        note varchar(60),
        primary key (id)
    );
