Table model with a tuple like Primary Key


I have a table where the Primary Key is:

PRIMARY KEY (`user_id`,`partner_id`)

I have to config the table using this primary key. How could I do it?

Example code

adminPartnerTable := table.NewDefaultTable(
			Driver:     os.Getenv("DB_DRIVER"),
			Connection: table.DefaultConnectionName,
			CanAdd:     true,
			Editable:   true,
			Deletable:  true,
			Exportable: false,
			PrimaryKey: table.PrimaryKey{
				Type: db.Int,
				Name: "(user_id, partner_id)",