vivianj / TradingApp

0 stars 0 forks source link

多 express 类用户, assign user给 具体的express,像assgin 给boss一样。 #20

Closed ghost closed 10 years ago

ghost commented 10 years ago

多 express 类用户, assign user给 具体的express,像assgin 给boss一样。

GingerBear commented 10 years ago

已经部署到dev,等待测试。 部署到live需要更新数据库,user_info表添加express_id int(11)字段

ghost commented 10 years ago

我给expres_id int(11)字段加了default value = 0, 不然新建user的时候报错。 另外在查看user assign 了给哪个boss 的 那个 按钮(Action栏下,蓝色, 3个人那个),把assign 了给哪个 Express也加上吧。

GingerBear commented 10 years ago

@etlds 因为express 和 user是一对一,所以我直接在显示的table里多加了一个Express的column,就不需要放到show boss的popup里了

ghost commented 10 years ago

@GingerBear 好的,我之前没有看到在表中,Express有一个column。