I am having a table named users where as usual all the ids are auto incremented. This is the migration:
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.string :name
...............
t.timestamps
end
end
Now I got a new requirement where the user ids generated should start with 1000. I have seen some links like this one, but here I am using sqlite3 for development, mysql for production. How can I modify the table? Is it possible to do anything in the model side? Please help.