Skip to content

Commit

Permalink
formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Janani Neelamekam committed Oct 2, 2023
1 parent 3a58fb4 commit 890df6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column("event", sa.Column("type", sa.String(), nullable=True))
op.add_column('event', sa.Column('owner', sa.String(), nullable=True))
op.add_column('event', sa.Column('pinned', sa.Boolean(), nullable=True))
op.add_column("event", sa.Column("owner", sa.String(), nullable=True))
op.add_column("event", sa.Column("pinned", sa.Boolean(), nullable=True))
# ### end Alembic commands ###


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column("event", "type")
op.drop_column('event', 'pinned')
op.drop_column('event', 'owner')
op.drop_column("event", "pinned")
op.drop_column("event", "owner")
# ### end Alembic commands ###
2 changes: 1 addition & 1 deletion src/dispatch/incident/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def create(*, db_session, incident_in: IncidentCreate) -> Incident:
"visibility": incident.visibility,
},
incident_id=incident.id,
owner=reporter_name
owner=reporter_name,
)

# add reporter
Expand Down

0 comments on commit 890df6b

Please sign in to comment.