You really, really don’t want to put data into the database tables directly. Stick with using the ActiveRecord models, which take care of a whole pile of “bookkeeping” behind the scenes for you. That’s what (nearly) all of the existing importers do.
mpalmer
(Matt Palmer)
8
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| How to import posts in CSV format? | 5 | 2758 | 2020 年1 月 14 日 | |
| My phpBB Migration Journey (postgresql) | 23 | 2280 | 2023 年3 月 30 日 | |
| Creating a basic import script, what do I need | 4 | 1579 | 2017 年5 月 17 日 | |
| Import from self build board? | 4 | 770 | 2020 年4 月 2 日 | |
| Set up an environment to migrate another forum to Discourse | 0 | 5595 | 2018 年5 月 23 日 |