ENH: Add index to root_symbol column of futures_contracts

This commit is contained in:
Andrew Daniels
2015-10-08 14:51:42 -04:00
parent 2e85e08768
commit 69b734129f
+1
View File
@@ -346,6 +346,7 @@ class AssetDBWriter(with_metaclass(ABCMeta)):
'root_symbol',
sa.Text,
sa.ForeignKey(self.futures_root_symbols.c.root_symbol),
index=True
),
sa.Column('asset_name', sa.Text),
sa.Column('start_date', sa.Integer, default=0, nullable=False),