We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed74e73 commit a3df841Copy full SHA for a3df841
uliweb/orm/__init__.py
@@ -1448,7 +1448,7 @@ def create(self, cls):
1448
# args['default'] = self.default
1449
args['primary_key'] = self.kwargs.get('primary_key', False)
1450
args['autoincrement'] = self.kwargs.get('autoincrement', False)
1451
- args['index'] = self.kwargs.get('index', False)
+ args['index'] = self.kwargs.get('index', True)
1452
args['unique'] = self.kwargs.get('unique', True)
1453
args['nullable'] = self.kwargs.get('nullable', True)
1454
f_type = self._create_type()
0 commit comments