<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
                                      http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
    <entity name="App\Model\MerchantCredentials" table="mmj_merchant_credentials">
        <id name="id" type="guid">
            <generator strategy="NONE"/>
        </id>

        <field name="email" type="string" length="255"/>
        <field name="password" type="string" length="255"/>

        <unique-constraints>
            <unique-constraint columns="email" name="idx_merchant_credentials_uniq_email" />
        </unique-constraints>
    </entity>
</doctrine-mapping>
