X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/204fa8706495a4f78612d0e2a21f10b94649cc86..b6c354b31b8e7963bbd384045cb72cd3a88c613e:/db/migrate/021_add_changesets.rb diff --git a/db/migrate/021_add_changesets.rb b/db/migrate/021_add_changesets.rb index 9b769c772..e0cf3904a 100644 --- a/db/migrate/021_add_changesets.rb +++ b/db/migrate/021_add_changesets.rb @@ -28,7 +28,7 @@ class AddChangesets < ActiveRecord::Migration # all the changesets will have the id of the user that made them. # We need to generate a changeset for each user in the database execute "INSERT INTO changesets (id, user_id, created_at, open)" + - "SELECT id, id, creation_time, 0 from users;" + "SELECT id, id, creation_time, false from users;" @@conv_user_tables.each { |tbl| rename_column tbl, :user_id, :changeset_id