title: Go migration doesn't create a foreign key
body: <p>My first day with Go. I try to develop a migration mechanism with GORM within Revel. </p>
  
  <p>These are my model structs:</p>
  
  <pre><code>type Role struct {
      gorm.Model
      Name string
  }
  
  type User struct {
      gorm.Model
      Name string
      Role Role  `gorm:"foreignkey:RoleIdForRole;association_foreignkey:Id"`
  }
  </code></pre>
  
  <p>I simply automigrate both structs as follows, which work fine. I see tables called users and roles but users table doesn't have a field <strong>role_id</strong> or <strong>roleID</strong></p>
  
  <pre><code>db.AutoMigrate(&amp;models.Role{})
  db.AutoMigrate(&amp;models.User{})
  </code></pre>
  
  <p>What am I missing?</p>