table created by GORM/Hibernate is missing foreign key
<p>I have the following domain class in my app</p>

<pre><code>class OauthProfile {

    Date dateCreated
    Map&lt;String, String&gt; claims

    static mapping = {
        claims indexColumn: [name: 'name'], type: 'text'     
    }
}
</code></pre>

<p>The claims map results in the creation of this table</p>

<pre><code>mysql&gt; describe oauth_profile_claims;
+------------+--------------+------+-----+---------+-------+
| Field      | Type         | Null | Key | Default | Extra |
+------------+--------------+------+-----+---------+-------+
| claims     | bigint(20)   | YES  |     | NULL    |       |
| name       | varchar(255) | YES  |     | NULL    |       |
| claims_elt | longtext     | NO   |     | NULL    |       |
+------------+--------------+------+-----+---------+-------+
</code></pre>

<p>Notice that there is no foreign key relationship between <code>oauth_profile</code> and <code>oauth_profile_claims</code>, but I think there ought to be, is this a bug? I'm using Grails 2.5.2.</p>