def METHOD_NAME():
    # creating delivery note table
    op.create_table(
        'delivery_note',
        sa.Column(
            'updated',
            sa.TIMESTAMP(timezone=True),
            server_default=sa.text('CURRENT_TIMESTAMP'),
            nullable=False,
        ),
        sa.Column(
            'created',
            sa.TIMESTAMP(timezone=True),
            server_default=sa.text('CURRENT_TIMESTAMP'),
            nullable=False,
        ),
        sa.Column('id', postgresql.UUID(as_uuid=True), nullable=False),
        sa.Column('date', sa.TIMESTAMP(timezone=True), nullable=True),
        sa.Column('number', citext.CIText(), nullable=True),
        sa.Column('weight', sa.Integer(), nullable=True),
        sa.Column('units', sa.Integer(), nullable=True),
        sa.Column('transfer_id', postgresql.UUID(as_uuid=True), nullable=False),
        sa.ForeignKeyConstraint(['transfer_id'], [f'{get_inv()}.transfer.id']),
        sa.PrimaryKeyConstraint('id'),
        schema=f'{get_inv()}',
    )
    # creating index
    op.create_index(
        op.f('ix_delivery_note_created'),
        'delivery_note',
        ['created'],
        unique=False,
        schema=f'{get_inv()}',
    )
    op.create_index(
        op.f('ix_delivery_note_updated'),
        'delivery_note',
        ['updated'],
        unique=False,
        schema=f'{get_inv()}',
    )
    op.create_index(
        'ix_delivery_note_id',
        'delivery_note',
        ['id'],
        unique=False,
        postgresql_using='hash',
        schema=f'{get_inv()}',
    )
    # creating receiver note table
    op.create_table(
        'receiver_note',
        sa.Column(
            'updated',
            sa.TIMESTAMP(timezone=True),
            server_default=sa.text('CURRENT_TIMESTAMP'),
            nullable=False,
        ),
        sa.Column(
            'created',
            sa.TIMESTAMP(timezone=True),
            server_default=sa.text('CURRENT_TIMESTAMP'),
            nullable=False,
        ),
        sa.Column('id', postgresql.UUID(as_uuid=True), nullable=False),
        sa.Column('date', sa.TIMESTAMP(timezone=True), nullable=True),
        sa.Column('number', citext.CIText(), nullable=True),
        sa.Column('weight', sa.Integer(), nullable=True),
        sa.Column('units', sa.Integer(), nullable=True),
        sa.Column('transfer_id', postgresql.UUID(as_uuid=True), nullable=False),
        sa.ForeignKeyConstraint(['transfer_id'], [f'{get_inv()}.transfer.id']),
        sa.PrimaryKeyConstraint('id'),
        schema=f'{get_inv()}',
    )
    # creating index
    op.create_index(
        op.f('ix_receiver_note_created'),
        'receiver_note',
        ['created'],
        unique=False,
        schema=f'{get_inv()}',
    )
    op.create_index(
        op.f('ix_receiver_note_updated'),
        'receiver_note',
        ['updated'],
        unique=False,
        schema=f'{get_inv()}',
    )
    op.create_index(
        'ix_receiver_note_id',
        'receiver_note',
        ['id'],
        unique=False,
        postgresql_using='hash',
        schema=f'{get_inv()}',
    )