maxirobaina / django-firebird

Firebird SQL backend for Django web framework
BSD 3-Clause "New" or "Revised" License
67 stars 47 forks source link

Use ALTER SEQUENCE in sequence_reset_sql #34

Open maxirobaina opened 10 years ago

maxirobaina commented 10 years ago

Implement DatabaseOperations.sequence_reset_sql using ALTER SEQUENCE statement.

mariuz commented 4 years ago

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

maxirobaina commented 4 years ago

It's not totally implemented.

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