struct

Prostore::Steps::Kind::ResetSequence

Inherits Struct < Value < Object

Reset an auto-increment sequence to MAX(column) (ADR-0013). SQLite rewrites sqlite_sequence; Postgres calls setval on the column's serial sequence. Idempotent — safe to run after any migration that may have written explicit values to an auto_increment column.

Constructors

new(table_name : String, column_name : String)
Source

Instance methods

clone
Source
column_name
copy_with(table_name _table_name = @table_name, column_name _column_name = @column_name)
Source
table_name