Dress to Impress, a big fancy Neopets customization tool!
Emi Matchu
e4e81f0694
Also, while we're here! To restore the lost data, I: 1. Downloaded this scheduled public data backup, which was taken thankfully the day before we updated modeling code! https://impress.openneo.net/public-data/2024-11-03T08_15_02Z-scheduled.sql.gz 2. Trimmed it just to the section about the `parents_swf_assets` table: dropping it, then rebuilding it from scratch. 3. Ran this modified backup SQL dump on the production server. 4. Ran the code from `db/migrate/20241001052510_add_cached_fields_to_items.rb` to bring items' cached fields back into the correct state. I also had to fix some errors in the item data that prevented some items from passing the latest validations: ```rb Item.where(rarity: "").update_all(rarity: "???") Item.where(description: "").update_all(description: "???") Item.where(zones_restrict: "").update_all(zones_restrict: "00000 00000000000000000000000000000000000000000000000") ``` |
||
---|---|---|
.devcontainer | ||
.husky | ||
app | ||
bin | ||
config | ||
db | ||
deploy | ||
lib | ||
public | ||
spec | ||
test | ||
vendor | ||
.eslintrc.json | ||
.gitignore | ||
.rspec | ||
.ruby-version | ||
.solargraph.yml | ||
.yarnrc.yml | ||
config.ru | ||
falcon.rb | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.md | ||
package.json | ||
Procfile.dev | ||
Rakefile | ||
README.md | ||
yarn.lock |
Dress to Impress
Oh! We've been revitalizing the Rails app! Fun!
There'll be more to say about it here soon :3