Oh! I know this one! 'Slaying entails certain sacrifices, blah blah blahbity blah, I'm so stuffy, gimme a scone.'

Buffy ,'Help'


Buffistas Building a Better Board ++

Do you have problems, concerns, or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.


Tom Scola - Jun 28, 2018 3:49:51 pm PDT #4114 of 4671
Mr. Scola’s wardrobe by Botany 500

Besides the single posts table, is there any significant difference between the two database schema I should be aware of?


Gudanov - Jun 28, 2018 4:37:09 pm PDT #4115 of 4671
Coding and Sleeping

The user table is pretty different mostly because of the way registration works. I'll need to do some custom work there anyhow to deal with using existing password hashes so that's not really a big deal. I think the bookmarks table carries a bit more data than the current one but that can be backfilled.

Just to note to other people reading this. Your passwords are not stored in the current database or the new database. So we're not passing around actual passwords at any point here, just hashes.


Tom Scola - Jun 29, 2018 5:07:47 pm PDT #4116 of 4671
Mr. Scola’s wardrobe by Botany 500

In the new board, you can't easily hotlink to a particular post, the way you can click on a post number over here.


Gudanov - Jun 30, 2018 8:33:51 am PDT #4117 of 4671
Coding and Sleeping

Indeed. I'll fix that as soon as I get a chance. Thanks.


Gudanov - Jun 30, 2018 10:24:02 am PDT #4118 of 4671
Coding and Sleeping

Fixed it.


Tom Scola - Jul 01, 2018 6:48:43 am PDT #4119 of 4671
Mr. Scola’s wardrobe by Botany 500

Testing something:

smonster "Coffee On My Monitor Again" Sep 23, 2009 6:27:02 am PDT


Beverly - Jul 01, 2018 8:40:20 am PDT #4120 of 4671
Days shrink and grow cold, sunlight through leaves is my song. Winter is long.

Whatever you were testing, I hope it worked. And thank you for the lovely trip down memory lane. We've been funny people!


Gudanov - Jul 01, 2018 10:00:33 am PDT #4121 of 4671
Coding and Sleeping

Looks like a missing feature for the new board.


Tom Scola - Jul 01, 2018 10:16:32 am PDT #4122 of 4671
Mr. Scola’s wardrobe by Botany 500

So I just committed a perl script ('cause that's how I roll), that attempts to translate between the two databases, and clean up the data. The output is 210M compressed, which is smaller than I thought it would be.

As it is, it won't really work, because you define some fields to be non-NULL that don't exist in the old database.

So, anyway, take a look at the script. You could probably run it yourself, since mysql.buffistas.org doesn't seem to be firewalled. (I ran it several times during testing, so it wouldn't surprise me if we bump into some kind of provider database transfer limit, sorry!) Please check if the translation between the table names and field names looks OK, and anything else that you see needs to be fixed.


Gudanov - Jul 01, 2018 10:34:43 am PDT #4123 of 4671
Coding and Sleeping

Cool. Thanks!