Daigo 3 Dango 7 years ago committed by Eugen Rochko
parent bc89995f65
commit 4fd7aebd5e
  1. 2
      db/migrate/20170920024819_status_ids_to_timestamp_ids.rb

@ -26,7 +26,7 @@ class StatusIdsToTimestampIds < ActiveRecord::Migration[5.1]
SELECT setval('statuses_id_seq', (SELECT MAX(id) FROM statuses));
ALTER TABLE statuses
ALTER COLUMN id
SET DEFAULT nextval('statuses_id_seq');"
SET DEFAULT nextval('statuses_id_seq');
SQL
end
end

Loading…
Cancel
Save