Skip to content

Commit

Permalink
flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiazza committed Apr 2, 2024
1 parent 6251c28 commit e78a837
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stix2/datastore/relational_db/table_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ def create_external_references_tables(metadata):
Column("url", Text),
Column("external_id", Text),
# all such keys are generated using the global sequence.
Column("hash_ref_id", Integer, primary_key=True, autoincrement = False)
Column("hash_ref_id", Integer, primary_key=True, autoincrement=False),
]
return [
Table("external_references", metadata, *columns, schema="common"),
create_hashes_table("hashes", metadata, "common", "external_references", Integer)
create_hashes_table("hashes", metadata, "common", "external_references", Integer),
]


Expand Down Expand Up @@ -471,7 +471,7 @@ def generate_table_information(self, name, metadata, schema_name, table_name, **
primary_key=True,
nullable=False,
# all such keys are generated using the global sequence.
autoincrement = False
autoincrement=False,
),
)
tables.append(Table(canonicalize_table_name(table_name + "_" + name), metadata, *columns, schema=schema_name))
Expand Down

0 comments on commit e78a837

Please sign in to comment.