我有2个表,我想映射到名为bags_user
的新表,现在bags_user
是空的,所以我想映射到这里。谢谢你的帮助
表袋
|id |1 |
+----+----+
|bags|box |
|size|14' |
表用户
|id |1 |
+-----+--------------+
|name |anna |
|email|anna@gmail.com|
表 bags_user (现在此表为空)
|id | (empty) |
+-------+---------+
|bag_id | (empty) | fk to bags
|user_id| (empty) | fk to user