django-firebird icon indicating copy to clipboard operation
django-firebird copied to clipboard

Use ALTER SEQUENCE in sequence_reset_sql

Open maxirobaina opened this issue 10 years ago • 2 comments

Implement DatabaseOperations.sequence_reset_sql using ALTER SEQUENCE statement.

maxirobaina avatar Jun 23 '14 12:06 maxirobaina

Seems that ALTER SEQUENCE is used for

def sequence_reset_sql(self, style, model_list): https://github.com/maxirobaina/django-firebird/blob/82f637ce83038837ff2a65b758702462a485a5e9/firebird/operations.py#L471

mariuz avatar May 13 '20 16:05 mariuz

It's not totally implemented.

https://github.com/maxirobaina/django-firebird/blob/master/firebird/operations.py#L426

maxirobaina avatar May 14 '20 15:05 maxirobaina