Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
mShan0 committed Jun 5, 2024
1 parent 3bd8cad commit adfaafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mssql/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def _add_deferred_unique_index_for_field(self, field, statement):
def _column_generated_sql(self, field):
"""Return the SQL to use in a GENERATED ALWAYS clause."""
expression_sql, params = field.generated_sql(self.connection)
persistency_sql = "STORED" if field.db_persist else "VIRTUAL"
persistency_sql = "PERSISTED" if field.db_persist else ""
if self.connection.features.requires_literal_defaults:
expression_sql = expression_sql % tuple(self.quote_value(p) for p in params)
params = ()
Expand Down

0 comments on commit adfaafe

Please sign in to comment.