Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create tables and migrations #17

Merged
merged 4 commits into from
Jul 29, 2024
Merged

Conversation

jadmsaadaot
Copy link
Collaborator

Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.77%. Comparing base (b52c904) to head (74388fa).

Additional details and impacted files
@@             Coverage Diff              @@
##           develop      #17       +/-   ##
============================================
+ Coverage    31.42%   79.77%   +48.35%     
============================================
  Files           22       24        +2     
  Lines          245      544      +299     
  Branches        54        0       -54     
============================================
+ Hits            77      434      +357     
+ Misses         152      110       -42     
+ Partials        16        0       -16     
Flag Coverage Δ
submit-api 79.77% <100.00%> (?)
submit-web ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('account',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should the table names be singular or plural

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changed to plural

@jadmsaadaot jadmsaadaot requested a review from dinesh-aot July 29, 2024 16:44
__tablename__ = 'role'

id = Column(db.Integer, primary_key=True, autoincrement=True)
role_name = Column(db.String(50), nullable=False)
Copy link
Collaborator

Choose a reason for hiding this comment

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

whats the role like ? not the keycloak role rite? can you add more comments here plz...

@jadmsaadaot jadmsaadaot merged commit d596455 into bcgov:develop Jul 29, 2024
6 checks passed
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.

3 participants