rails start id to 1000

# Step 1: Open the Rails console
rails console

# Step 2: Retrieve the last record's ID in the database
last_id = ModelName.last.id

# Step 3: Calculate the starting ID for the new records (e.g., 1000)
start_id = 1000

# Step 4: Calculate the range for the new IDs
new_ids_range = (start_id..start_id + last_id)

# Step 5: Iterate over the range and create new records with the desired IDs
new_ids_range.each do |id|
  ModelName.create(id: id, attribute1: value1, attribute2: value2, ...)
end