# See http://doc.gitlab.com/ce/development/migration_style_guide.html# for more information on how to write migrations for GitLab.classFillRoutesTable<ActiveRecord::MigrationincludeGitlab::Database::MigrationHelpersDOWNTIME=trueDOWNTIME_REASON='No new namespaces should be created during data copy'defupexecute<<-EOF INSERT INTO routes (source_id, source_type, path) (SELECT id, 'Namespace', path FROM namespaces) EOFenddefdown