Skip to content

Add migration - #126

Merged
ericguo202 merged 4 commits into
previewfrom
add-migration
Sep 29, 2026
Merged

ericguo202 merged 4 commits into
previewfrom
add-migration

Conversation

@ericguo202

Copy link
Copy Markdown
Member

References

  • Linear:

Proposed Changes

  • Add your proposed changes here

@vercel

vercel Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
help Ready Ready Preview Sep 10, 2026 1:41am UTC

Request Review

},
),
migrations.CreateModel(
name='Question',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's make sure we're setting db_table for all so naming stays consistent. look at AnonymousName and StudyGroup too

('details', models.TextField()),
('create_time', models.DateTimeField(auto_now_add=True)),
('last_updated_time', models.DateTimeField(auto_now=True)),
('hearts', models.IntegerField(default=0, validators=[django.core.validators.MinValueValidator(0)])),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: let's keep this consistent with PositiveIntegerField typing we gave above for heart in CustomerUser, Answer, and Comment

@mar-crespo mar-crespo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, looks good, just some comments to nitpick. Also, I think we should look over the schemas and the naming convention we use to make sure everything is consistent. Feel like it would make things easier to read and understand for new team members when they onboard.

@ericguo202
ericguo202 merged commit 1b73b52 into preview Sep 29, 2026
4 checks passed
@ericguo202
ericguo202 deleted the add-migration branch October 11, 2026 17:32

This branch was successfully deployed

1 active deployment
Preview — b7922a40 Deployed Sep 10, 2026 by vercel[bot]
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

Successfully merging this pull request may close these issues.

2 participants