Skip to content

Commit 7cfa2a2

Browse files
committed
new table in orm
1 parent d60d4b0 commit 7cfa2a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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)