Skip to content

Commit b3d0f8e

Browse files
committed
new table in orm
1 parent 8de93ec commit b3d0f8e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎src/allocation/adapters/orm.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@
3939
Column('batch_id', ForeignKey('batches.id')),
4040
)
4141

42+
allocations_view = Table(
43+
'allocations_view', metadata,
44+
Column('orderid', String(255)),
45+
Column('sku', String(255)),
46+
Column('batchref', String(255)),
47+
)
48+
4249

4350
def start_mappers():
4451
lines_mapper = mapper(model.OrderLine, order_lines)

0 commit comments

Comments
 (0)