Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion of old database. #21

Open
huxuan opened this issue Feb 14, 2016 · 6 comments
Open

Conversion of old database. #21

huxuan opened this issue Feb 14, 2016 · 6 comments
Assignees

Comments

@huxuan
Copy link
Member

huxuan commented Feb 14, 2016

有什么相关的问题就在这里讨论吧。
Put every word where it should be.

@zhzhzoo
Copy link
Contributor

zhzhzoo commented Feb 15, 2016

threads 每个帖子存原来的 tid,这样可以支持老链接

@JeldorPKU
Copy link
Contributor

threads 每个帖子存原来的 tid,这样可以支持老链接

老链接你用脚本全部都转换过来吧……我觉得这样不值得

@huxuan
Copy link
Member Author

huxuan commented Feb 16, 2016

threads 每个帖子存原来的 tid,这样可以支持老链接

转换脚本要做的就是尽可能把帖子里的链接给映射到新的体制下面,大概思路是在转换过程中保存一个map,先进行数据库中column的mapping,在mapping完之后再对每一个帖子进行进一步的处理。

@zhzhzoo
Copy link
Contributor

zhzhzoo commented Feb 16, 2016

“回复了你”,“在楼中楼回复了你”和“回复了你的楼中楼”还要不要分开呀。。。

@JeldorPKU
Copy link
Contributor

“回复了你”,“在楼中楼回复了你”和“回复了你的楼中楼”还要不要分开呀。。。

有个变量叫ntype,就是这些类型,你看看怎么转换吧

@JeldorPKU
Copy link
Contributor

#25 新增了locked和featured字段,分别为锁定和精品。密码继续MD5吧不用别的了。 @zhzhzoo
有啥问题继续提~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants