- Redis can read a json 16x faster than postgres.
- "Vice signaling" (as opposed to virtue signaling) is a cool trait. Admitting one's faults, weaknesses, etc. I like that in people.
- Petty finally sent me the list of people who had paid so far. Added them to the prod table, lb looks much better now.
- enter-python-prod
- paid_league_2019 = db.session.query(League).filter(League.season_id == Season.id, Season.season == 2019, League.name == 'Paid').one()
- user = db.session.query(User).filter(User.email.like('%petty%')).one()
- paid_league_2019.users.append(user)
- Repeat 3-4 for any other users
- db.session.commit()
- 33 so far. More are planning to pay (Art, Wes, Harner, ...).