houston-core 0.5.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codeclimate.yml +46 -0
- data/.gitignore +23 -0
- data/.gitmodules +0 -0
- data/Gemfile +24 -0
- data/Gemfile.lock +354 -0
- data/README.md +133 -0
- data/Rakefile +8 -0
- data/app/adapters/houston/adapters.rb +51 -0
- data/app/adapters/houston/adapters/ci_server.rb +5 -0
- data/app/adapters/houston/adapters/ci_server/errors.rb +16 -0
- data/app/adapters/houston/adapters/ci_server/jenkins_adapter.rb +21 -0
- data/app/adapters/houston/adapters/ci_server/jenkins_adapter/job.rb +245 -0
- data/app/adapters/houston/adapters/ci_server/none_adapter.rb +21 -0
- data/app/adapters/houston/adapters/ci_server/none_adapter/job.rb +25 -0
- data/app/adapters/houston/adapters/deployment/engineyard.rb +107 -0
- data/app/adapters/houston/adapters/deployment/engineyard/config.rb +18 -0
- data/app/adapters/houston/adapters/error_tracker.rb +5 -0
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter.rb +69 -0
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter/app.rb +48 -0
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter/connection.rb +153 -0
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb +26 -0
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb +98 -0
- data/app/adapters/houston/adapters/error_tracker/errors.rb +0 -0
- data/app/adapters/houston/adapters/error_tracker/none_adapter.rb +31 -0
- data/app/adapters/houston/adapters/error_tracker/null_app.rb +40 -0
- data/app/adapters/houston/adapters/ticket_tracker.rb +5 -0
- data/app/adapters/houston/adapters/ticket_tracker/errors.rb +23 -0
- data/app/adapters/houston/adapters/ticket_tracker/github_adapter.rb +27 -0
- data/app/adapters/houston/adapters/ticket_tracker/github_adapter/connection.rb +167 -0
- data/app/adapters/houston/adapters/ticket_tracker/github_adapter/issue.rb +99 -0
- data/app/adapters/houston/adapters/ticket_tracker/houston_adapter.rb +23 -0
- data/app/adapters/houston/adapters/ticket_tracker/houston_adapter/connection.rb +48 -0
- data/app/adapters/houston/adapters/ticket_tracker/houston_adapter/ticket.rb +65 -0
- data/app/adapters/houston/adapters/ticket_tracker/none_adapter.rb +21 -0
- data/app/adapters/houston/adapters/ticket_tracker/null_connection.rb +46 -0
- data/app/adapters/houston/adapters/ticket_tracker/null_ticket.rb +71 -0
- data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter.rb +43 -0
- data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/connection.rb +224 -0
- data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/milestone.rb +42 -0
- data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/ticket.rb +240 -0
- data/app/adapters/houston/adapters/version_control.rb +5 -0
- data/app/adapters/houston/adapters/version_control/commit.rb +29 -0
- data/app/adapters/houston/adapters/version_control/errors.rb +37 -0
- data/app/adapters/houston/adapters/version_control/git_adapter.rb +96 -0
- data/app/adapters/houston/adapters/version_control/git_adapter/diff_changes.rb +49 -0
- data/app/adapters/houston/adapters/version_control/git_adapter/github_repo.rb +65 -0
- data/app/adapters/houston/adapters/version_control/git_adapter/remote_repo.rb +104 -0
- data/app/adapters/houston/adapters/version_control/git_adapter/repo.rb +247 -0
- data/app/adapters/houston/adapters/version_control/none_adapter.rb +21 -0
- data/app/adapters/houston/adapters/version_control/null_commit.rb +21 -0
- data/app/adapters/houston/adapters/version_control/null_repo.rb +65 -0
- data/app/assets/font/octicons.eot +0 -0
- data/app/assets/font/octicons.svg +198 -0
- data/app/assets/font/octicons.ttf +0 -0
- data/app/assets/font/octicons.woff +0 -0
- data/app/assets/font/roboto-black-webfont.eot +0 -0
- data/app/assets/font/roboto-black-webfont.svg +675 -0
- data/app/assets/font/roboto-black-webfont.ttf +0 -0
- data/app/assets/font/roboto-black-webfont.woff +0 -0
- data/app/assets/font/roboto-blackitalic-webfont.eot +0 -0
- data/app/assets/font/roboto-blackitalic-webfont.svg +677 -0
- data/app/assets/font/roboto-blackitalic-webfont.ttf +0 -0
- data/app/assets/font/roboto-blackitalic-webfont.woff +0 -0
- data/app/assets/font/roboto-bold-webfont.eot +0 -0
- data/app/assets/font/roboto-bold-webfont.svg +675 -0
- data/app/assets/font/roboto-bold-webfont.ttf +0 -0
- data/app/assets/font/roboto-bold-webfont.woff +0 -0
- data/app/assets/font/roboto-bolditalic-webfont.eot +0 -0
- data/app/assets/font/roboto-bolditalic-webfont.svg +677 -0
- data/app/assets/font/roboto-bolditalic-webfont.ttf +0 -0
- data/app/assets/font/roboto-bolditalic-webfont.woff +0 -0
- data/app/assets/font/roboto-italic-webfont.eot +0 -0
- data/app/assets/font/roboto-italic-webfont.svg +668 -0
- data/app/assets/font/roboto-italic-webfont.ttf +0 -0
- data/app/assets/font/roboto-italic-webfont.woff +0 -0
- data/app/assets/font/roboto-light-webfont.eot +0 -0
- data/app/assets/font/roboto-light-webfont.svg +666 -0
- data/app/assets/font/roboto-light-webfont.ttf +0 -0
- data/app/assets/font/roboto-light-webfont.woff +0 -0
- data/app/assets/font/roboto-lightitalic-webfont.eot +0 -0
- data/app/assets/font/roboto-lightitalic-webfont.svg +668 -0
- data/app/assets/font/roboto-lightitalic-webfont.ttf +0 -0
- data/app/assets/font/roboto-lightitalic-webfont.woff +0 -0
- data/app/assets/font/roboto-medium-webfont.eot +0 -0
- data/app/assets/font/roboto-medium-webfont.svg +675 -0
- data/app/assets/font/roboto-medium-webfont.ttf +0 -0
- data/app/assets/font/roboto-medium-webfont.woff +0 -0
- data/app/assets/font/roboto-mediumitalic-webfont.eot +0 -0
- data/app/assets/font/roboto-mediumitalic-webfont.svg +677 -0
- data/app/assets/font/roboto-mediumitalic-webfont.ttf +0 -0
- data/app/assets/font/roboto-mediumitalic-webfont.woff +0 -0
- data/app/assets/font/roboto-regular-webfont.eot +0 -0
- data/app/assets/font/roboto-regular-webfont.svg +666 -0
- data/app/assets/font/roboto-regular-webfont.ttf +0 -0
- data/app/assets/font/roboto-regular-webfont.woff +0 -0
- data/app/assets/font/roboto-thin-webfont.eot +0 -0
- data/app/assets/font/roboto-thin-webfont.svg +666 -0
- data/app/assets/font/roboto-thin-webfont.ttf +0 -0
- data/app/assets/font/roboto-thin-webfont.woff +0 -0
- data/app/assets/font/roboto-thinitalic-webfont.eot +0 -0
- data/app/assets/font/roboto-thinitalic-webfont.svg +668 -0
- data/app/assets/font/roboto-thinitalic-webfont.ttf +0 -0
- data/app/assets/font/roboto-thinitalic-webfont.woff +0 -0
- data/app/assets/images/.keep +0 -0
- data/app/assets/images/bug-fixed-128.png +0 -0
- data/app/assets/images/bug-fixed-32.png +0 -0
- data/app/assets/images/bug-fixed-48.png +0 -0
- data/app/assets/images/bug-new-128.png +0 -0
- data/app/assets/images/bug-new-32.png +0 -0
- data/app/assets/images/bug-new-48.png +0 -0
- data/app/assets/images/bug-open-32.png +0 -0
- data/app/assets/images/bug-zero-128.png +0 -0
- data/app/assets/images/bug-zero-48.png +0 -0
- data/app/assets/javascripts/app/boot.coffee +22 -0
- data/app/assets/javascripts/app/emoji.coffee.erb +2 -0
- data/app/assets/javascripts/app/infinite_scroll.coffee +32 -0
- data/app/assets/javascripts/app/models/commit.coffee +9 -0
- data/app/assets/javascripts/app/models/release.coffee +9 -0
- data/app/assets/javascripts/app/models/task.coffee +5 -0
- data/app/assets/javascripts/app/models/tester.coffee +8 -0
- data/app/assets/javascripts/app/models/testing_note.coffee +18 -0
- data/app/assets/javascripts/app/models/ticket.coffee +165 -0
- data/app/assets/javascripts/app/models/user.coffee +3 -0
- data/app/assets/javascripts/app/mousetrap-bind-scoped.js +37 -0
- data/app/assets/javascripts/app/releases.coffee +55 -0
- data/app/assets/javascripts/app/stacked_area_graph.coffee +113 -0
- data/app/assets/javascripts/app/stacked_bar_graph.coffee +108 -0
- data/app/assets/javascripts/app/table_row_expander.coffee +52 -0
- data/app/assets/javascripts/app/ticket_tracker_refresh.coffee +73 -0
- data/app/assets/javascripts/app/views/_show_sprint_view.coffee +84 -0
- data/app/assets/javascripts/app/views/_tickets_view.coffee +62 -0
- data/app/assets/javascripts/app/views/all_tickets_view.coffee +29 -0
- data/app/assets/javascripts/app/views/commit_view.coffee +13 -0
- data/app/assets/javascripts/app/views/edit_sprint_view.coffee +327 -0
- data/app/assets/javascripts/app/views/edit_ticket_view.coffee +67 -0
- data/app/assets/javascripts/app/views/find_or_create_ticket_view.coffee +75 -0
- data/app/assets/javascripts/app/views/keyboard_shortcuts_modal.coffee +42 -0
- data/app/assets/javascripts/app/views/new_ticket_modal.coffee +24 -0
- data/app/assets/javascripts/app/views/new_ticket_view.coffee +207 -0
- data/app/assets/javascripts/app/views/problems_view.coffee +114 -0
- data/app/assets/javascripts/app/views/reports_view.coffee +51 -0
- data/app/assets/javascripts/app/views/testing_note_view.coffee +85 -0
- data/app/assets/javascripts/app/views/testing_report_view.coffee +29 -0
- data/app/assets/javascripts/app/views/testing_ticket_view.coffee +203 -0
- data/app/assets/javascripts/app/views/ticket_modal_view.coffee +77 -0
- data/app/assets/javascripts/application.js +18 -0
- data/app/assets/javascripts/core/app.coffee +169 -0
- data/app/assets/javascripts/core/burndown_chart.coffee +111 -0
- data/app/assets/javascripts/core/core_ext/number.coffee +48 -0
- data/app/assets/javascripts/core/errors.coffee +26 -0
- data/app/assets/javascripts/core/handlebars_helpers.coffee +164 -0
- data/app/assets/javascripts/core/helpers.coffee +18 -0
- data/app/assets/javascripts/core/jquery_extensions.coffee +176 -0
- data/app/assets/javascripts/dashboard.js +23 -0
- data/app/assets/javascripts/dashboard/refresher.coffee +120 -0
- data/app/assets/javascripts/vendor.js +26 -0
- data/app/assets/stylesheets/application.css +14 -0
- data/app/assets/stylesheets/application/ansi.scss +38 -0
- data/app/assets/stylesheets/application/commit.scss +6 -0
- data/app/assets/stylesheets/application/emoji.scss +5 -0
- data/app/assets/stylesheets/application/exceptions.scss +64 -0
- data/app/assets/stylesheets/application/find_or_create_ticket.scss +12 -0
- data/app/assets/stylesheets/application/follow_up.scss +44 -0
- data/app/assets/stylesheets/application/forms.scss +46 -0
- data/app/assets/stylesheets/application/freight_train.css.scss +46 -0
- data/app/assets/stylesheets/application/full_screen.scss +8 -0
- data/app/assets/stylesheets/application/infinite_scroll.scss +17 -0
- data/app/assets/stylesheets/application/keyboard_shortcuts.scss +31 -0
- data/app/assets/stylesheets/application/markdown.scss +27 -0
- data/app/assets/stylesheets/application/mobile.scss +3 -0
- data/app/assets/stylesheets/application/modals.scss +3 -0
- data/app/assets/stylesheets/application/navigation.scss +212 -0
- data/app/assets/stylesheets/application/new_ticket_view.scss +89 -0
- data/app/assets/stylesheets/application/omnibar.scss +55 -0
- data/app/assets/stylesheets/application/project_banner_buttons.scss +70 -0
- data/app/assets/stylesheets/application/project_tiles.scss +26 -0
- data/app/assets/stylesheets/application/projects.css.scss +96 -0
- data/app/assets/stylesheets/application/pull_requests.scss +68 -0
- data/app/assets/stylesheets/application/queue.scss +11 -0
- data/app/assets/stylesheets/application/release_form.scss +67 -0
- data/app/assets/stylesheets/application/releases.scss +164 -0
- data/app/assets/stylesheets/application/sortable_table.scss +26 -0
- data/app/assets/stylesheets/application/sprint.scss +83 -0
- data/app/assets/stylesheets/application/tables.scss +74 -0
- data/app/assets/stylesheets/application/test_run.scss +145 -0
- data/app/assets/stylesheets/application/testing_report.scss +279 -0
- data/app/assets/stylesheets/application/ticket.scss +156 -0
- data/app/assets/stylesheets/application/ticket_modal.scss +173 -0
- data/app/assets/stylesheets/application/tickets.scss +36 -0
- data/app/assets/stylesheets/application/timeline.scss +206 -0
- data/app/assets/stylesheets/application/tips.scss +5 -0
- data/app/assets/stylesheets/application/typeahead.scss +29 -0
- data/app/assets/stylesheets/application/uploading.scss +101 -0
- data/app/assets/stylesheets/application/user_wall.scss +4 -0
- data/app/assets/stylesheets/application/users.scss +22 -0
- data/app/assets/stylesheets/application/welcome.scss +48 -0
- data/app/assets/stylesheets/core/alerts.scss +14 -0
- data/app/assets/stylesheets/core/avatars.scss +22 -0
- data/app/assets/stylesheets/core/burndown_chart.scss +92 -0
- data/app/assets/stylesheets/core/colors.scss.erb +106 -0
- data/app/assets/stylesheets/core/misc.scss +165 -0
- data/app/assets/stylesheets/core/octicons-icons.scss +221 -0
- data/app/assets/stylesheets/core/octicons.scss.erb +9 -0
- data/app/assets/stylesheets/core/overrides.scss +48 -0
- data/app/assets/stylesheets/core/roboto.scss.erb +131 -0
- data/app/assets/stylesheets/core/scores.scss +123 -0
- data/app/assets/stylesheets/dashboard.css +14 -0
- data/app/assets/stylesheets/dashboard/dashboard.scss +110 -0
- data/app/assets/stylesheets/print.css.scss +22 -0
- data/app/assets/stylesheets/vendor.css +16 -0
- data/app/assets/templates/commit.hbs +9 -0
- data/app/assets/templates/keyboard_shortcuts.hbs +14 -0
- data/app/assets/templates/new_ticket/form.hbs +14 -0
- data/app/assets/templates/new_ticket/modal.hbs +9 -0
- data/app/assets/templates/new_ticket/suggestion.hbs +3 -0
- data/app/assets/templates/omnibar/commit.hbs +6 -0
- data/app/assets/templates/omnibar/modal.hbs +5 -0
- data/app/assets/templates/omnibar/project.hbs +5 -0
- data/app/assets/templates/omnibar/ticket.hbs +6 -0
- data/app/assets/templates/problems/index.hbs +3 -0
- data/app/assets/templates/problems/show.hbs +48 -0
- data/app/assets/templates/sprints/edit.hbs +50 -0
- data/app/assets/templates/sprints/show.hbs +1 -0
- data/app/assets/templates/sprints/task.hbs +17 -0
- data/app/assets/templates/sprints/typeahead.hbs +7 -0
- data/app/assets/templates/testing_notes/edit.hbs +20 -0
- data/app/assets/templates/testing_notes/new.hbs +27 -0
- data/app/assets/templates/testing_notes/show.hbs +11 -0
- data/app/assets/templates/testing_report/description.hbs +12 -0
- data/app/assets/templates/testing_report/ticket.hbs +21 -0
- data/app/assets/templates/testing_report/verdict.hbs +4 -0
- data/app/assets/templates/tickets/find_or_create.hbs +4 -0
- data/app/assets/templates/tickets/index.hbs +19 -0
- data/app/assets/templates/tickets/modal.hbs +5 -0
- data/app/assets/templates/tickets/show.hbs +62 -0
- data/app/assets/templates/tickets/typeahead.hbs +2 -0
- data/app/concerns/belongs_to_commit.rb +22 -0
- data/app/concerns/commit_synchronizer.rb +94 -0
- data/app/concerns/feature_state.rb +27 -0
- data/app/concerns/feature_support.rb +15 -0
- data/app/concerns/historical_weekly_stats.rb +15 -0
- data/app/concerns/milestone_synchronizer.rb +60 -0
- data/app/concerns/nosync.rb +21 -0
- data/app/concerns/project_adapter.rb +81 -0
- data/app/concerns/retirement.rb +28 -0
- data/app/concerns/ticket_synchronizer.rb +120 -0
- data/app/concerns/unique_add.rb +7 -0
- data/app/controllers/api/v1/sprint_tasks_controller.rb +97 -0
- data/app/controllers/api/v1/ticket_tasks_controller.rb +75 -0
- data/app/controllers/application_controller.rb +151 -0
- data/app/controllers/commits_controller.rb +33 -0
- data/app/controllers/concerns/.keep +0 -0
- data/app/controllers/deploys_controller.rb +43 -0
- data/app/controllers/home_controller.rb +9 -0
- data/app/controllers/hooks_controller.rb +31 -0
- data/app/controllers/jobs_controller.rb +13 -0
- data/app/controllers/oauth_consumers_controller.rb +68 -0
- data/app/controllers/omnibar_controller.rb +64 -0
- data/app/controllers/project_exceptions_controller.rb +36 -0
- data/app/controllers/project_hooks_controller.rb +30 -0
- data/app/controllers/project_options_controller.rb +27 -0
- data/app/controllers/project_pretickets_controller.rb +27 -0
- data/app/controllers/project_roles_controller.rb +22 -0
- data/app/controllers/project_tickets_controller.rb +153 -0
- data/app/controllers/project_tickets_sync_controller.rb +22 -0
- data/app/controllers/projects_controller.rb +97 -0
- data/app/controllers/releases_controller.rb +130 -0
- data/app/controllers/reports_controller.rb +215 -0
- data/app/controllers/sessions_controller.rb +8 -0
- data/app/controllers/settings_controller.rb +14 -0
- data/app/controllers/sprint_task_locks_controller.rb +47 -0
- data/app/controllers/sprints_controller.rb +99 -0
- data/app/controllers/tasks_controller.rb +40 -0
- data/app/controllers/test_runs_controller.rb +35 -0
- data/app/controllers/tester_bar_controller.rb +12 -0
- data/app/controllers/testing_notes_controller.rb +50 -0
- data/app/controllers/testing_report_controller.rb +38 -0
- data/app/controllers/tickets_controller.rb +48 -0
- data/app/controllers/uploads_controller.rb +56 -0
- data/app/controllers/user_credentials_controller.rb +24 -0
- data/app/controllers/user_options_controller.rb +19 -0
- data/app/controllers/users_controller.rb +115 -0
- data/app/controllers/welcome_controller.rb +28 -0
- data/app/helpers/ansi_helper.rb +46 -0
- data/app/helpers/application_helper.rb +97 -0
- data/app/helpers/avatar_helper.rb +32 -0
- data/app/helpers/backtrace_helper.rb +7 -0
- data/app/helpers/breadcrumbs_helper.rb +60 -0
- data/app/helpers/commit_helper.rb +60 -0
- data/app/helpers/demo_helper.rb +23 -0
- data/app/helpers/email_helper.rb +13 -0
- data/app/helpers/emoji_helper.rb +13 -0
- data/app/helpers/excel_helpers.rb +7 -0
- data/app/helpers/exposure_helper.rb +11 -0
- data/app/helpers/flash_message_helper.rb +22 -0
- data/app/helpers/maintenance_light_helper.rb +19 -0
- data/app/helpers/markdown_helper.rb +17 -0
- data/app/helpers/navigation_helper.rb +67 -0
- data/app/helpers/project_helper.rb +33 -0
- data/app/helpers/release_helper.rb +47 -0
- data/app/helpers/score_card_helper.rb +85 -0
- data/app/helpers/sprint_helper.rb +11 -0
- data/app/helpers/static_chart_helper.rb +7 -0
- data/app/helpers/test_run_helper.rb +36 -0
- data/app/helpers/ticket_helper.rb +70 -0
- data/app/helpers/timeline_helper.rb +39 -0
- data/app/helpers/url_helper.rb +75 -0
- data/app/helpers/user_helper.rb +15 -0
- data/app/helpers/version_helper.rb +9 -0
- data/app/interactors/push_gemfile_to_gemnasium.rb +88 -0
- data/app/interactors/test_run_comparer.rb +46 -0
- data/app/interactors/ticket_report.rb +66 -0
- data/app/jobs/sync_all_tickets_job.rb +48 -0
- data/app/jobs/sync_commits_job.rb +13 -0
- data/app/jobs/sync_project_tickets_job.rb +32 -0
- data/app/mailers/.gitkeep +0 -0
- data/app/mailers/.keep +0 -0
- data/app/mailers/deploy_notification.rb +33 -0
- data/app/mailers/project_notification.rb +131 -0
- data/app/mailers/view_mailer.rb +117 -0
- data/app/models/.gitkeep +0 -0
- data/app/models/.keep +0 -0
- data/app/models/ability.rb +53 -0
- data/app/models/activity_feed.rb +111 -0
- data/app/models/antecedent.rb +15 -0
- data/app/models/code_climate/coverage_report.rb +167 -0
- data/app/models/commit.rb +255 -0
- data/app/models/concerns/.keep +0 -0
- data/app/models/consumer_token.rb +13 -0
- data/app/models/deploy.rb +103 -0
- data/app/models/environment.rb +39 -0
- data/app/models/gemnasium/alert.rb +25 -0
- data/app/models/github/comment_event.rb +29 -0
- data/app/models/github/commit_comment_event.rb +7 -0
- data/app/models/github/commit_status_report.rb +73 -0
- data/app/models/github/diff_comment_event.rb +7 -0
- data/app/models/github/event.rb +20 -0
- data/app/models/github/issue_comment_event.rb +16 -0
- data/app/models/github/post_receive_event.rb +14 -0
- data/app/models/github/pull_request.rb +133 -0
- data/app/models/github/pull_request_event.rb +43 -0
- data/app/models/github/unauthorized.rb +4 -0
- data/app/models/github_token.rb +8 -0
- data/app/models/historical_head.rb +5 -0
- data/app/models/key_dependency.rb +45 -0
- data/app/models/maintenance_light.rb +12 -0
- data/app/models/measurement.rb +110 -0
- data/app/models/menu_item.rb +19 -0
- data/app/models/menu_item_divider.rb +11 -0
- data/app/models/milestone.rb +106 -0
- data/app/models/output_stream.rb +26 -0
- data/app/models/post_receive_payload.rb +30 -0
- data/app/models/project.rb +247 -0
- data/app/models/project_dependencies.rb +52 -0
- data/app/models/project_dependency.rb +108 -0
- data/app/models/project_menu_item.rb +12 -0
- data/app/models/release.rb +217 -0
- data/app/models/release_change.rb +54 -0
- data/app/models/role.rb +55 -0
- data/app/models/rubygems/gem.rb +76 -0
- data/app/models/run_tests_on_post_receive.rb +180 -0
- data/app/models/setting.rb +10 -0
- data/app/models/settings.rb +38 -0
- data/app/models/source_file_coverage.rb +10 -0
- data/app/models/sprint.rb +75 -0
- data/app/models/sprint_report.rb +56 -0
- data/app/models/sprint_task.rb +32 -0
- data/app/models/static_chart.rb +137 -0
- data/app/models/static_chart/area.rb +70 -0
- data/app/models/task.rb +217 -0
- data/app/models/test.rb +8 -0
- data/app/models/test_error.rb +8 -0
- data/app/models/test_result.rb +10 -0
- data/app/models/test_run.rb +366 -0
- data/app/models/test_run_statistics.rb +54 -0
- data/app/models/testing_note.rb +64 -0
- data/app/models/ticket.rb +368 -0
- data/app/models/ticket_antecedent.rb +39 -0
- data/app/models/ticket_comment.rb +21 -0
- data/app/models/ticket_committer.rb +11 -0
- data/app/models/ticket_tag.rb +25 -0
- data/app/models/user.rb +160 -0
- data/app/models/user_credentials.rb +48 -0
- data/app/models/value_statement.rb +9 -0
- data/app/presenters/commit_presenter.rb +52 -0
- data/app/presenters/full_ticket_presenter.rb +78 -0
- data/app/presenters/one_or_many.rb +22 -0
- data/app/presenters/problem_presenter.rb +49 -0
- data/app/presenters/release_presenter.rb +20 -0
- data/app/presenters/sprint_task_presenter.rb +49 -0
- data/app/presenters/task_presenter.rb +44 -0
- data/app/presenters/tasks_excel_presenter.rb +107 -0
- data/app/presenters/tester_presenter.rb +15 -0
- data/app/presenters/testing_note_presenter.rb +27 -0
- data/app/presenters/testing_report_ticket_presenter.rb +71 -0
- data/app/presenters/ticket_presenter.rb +36 -0
- data/app/views/activity/_events.html.erb +24 -0
- data/app/views/commits/show.html.erb +49 -0
- data/app/views/configuration_error/_invalid_repo.html.erb +7 -0
- data/app/views/configuration_error/_no_ticket_tracker.html.erb +7 -0
- data/app/views/configuration_error/_no_version_control.html.erb +7 -0
- data/app/views/deploys/show.html.erb +39 -0
- data/app/views/devise/_links.erb +25 -0
- data/app/views/devise/confirmations/new.html.erb +12 -0
- data/app/views/devise/invitations/edit.html.erb +26 -0
- data/app/views/devise/invitations/new.html.erb +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/invitation_instructions.html.erb +8 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +28 -0
- data/app/views/devise/passwords/new.html.erb +19 -0
- data/app/views/devise/registrations/edit.html.erb +25 -0
- data/app/views/devise/registrations/new.html.erb +18 -0
- data/app/views/devise/sessions/new.html.erb +43 -0
- data/app/views/devise/unlocks/new.html.erb +12 -0
- data/app/views/home/index.html.erb +0 -0
- data/app/views/jobs/show.html.erb +82 -0
- data/app/views/layouts/_navigation.html.erb +96 -0
- data/app/views/layouts/_tester_bar.html.erb +6 -0
- data/app/views/layouts/application.html.erb +83 -0
- data/app/views/layouts/dashboard.html.erb +48 -0
- data/app/views/layouts/email.html.erb +217 -0
- data/app/views/layouts/minimal.html.erb +54 -0
- data/app/views/layouts/naked_dashboard.html.erb +46 -0
- data/app/views/oauth_consumers/error.html.erb +5 -0
- data/app/views/oauth_consumers/index.html.erb +29 -0
- data/app/views/oauth_consumers/show.html.erb +7 -0
- data/app/views/project_notification/ci_configuration_error.html.erb +15 -0
- data/app/views/project_notification/follow_up.html.erb +26 -0
- data/app/views/project_notification/new_release.html.erb +31 -0
- data/app/views/project_notification/test_run.html.erb +141 -0
- data/app/views/project_notification/testing_note.html.erb +9 -0
- data/app/views/project_pretickets/show.html.erb +49 -0
- data/app/views/project_tickets/_tickets.html.erb +37 -0
- data/app/views/project_tickets/bugs.html.erb +13 -0
- data/app/views/project_tickets/ideas.html.erb +13 -0
- data/app/views/project_tickets/index.html.erb +13 -0
- data/app/views/project_tickets/index.xls.erb +130 -0
- data/app/views/project_tickets/new.html.erb +18 -0
- data/app/views/project_tickets/no_ticket_tracker.html.erb +8 -0
- data/app/views/project_tickets/open.html.erb +13 -0
- data/app/views/project_tickets/open_bugs.html.erb +13 -0
- data/app/views/project_tickets/open_ideas.html.erb +13 -0
- data/app/views/project_tickets/show.html.erb +76 -0
- data/app/views/projects/_form.html.erb +174 -0
- data/app/views/projects/_header.html.erb +11 -0
- data/app/views/projects/_keyboard_shortcuts.html.erb +8 -0
- data/app/views/projects/_new_ticket.html.erb +8 -0
- data/app/views/projects/_ticket_tracker_refresh.html.erb +4 -0
- data/app/views/projects/edit.html.erb +3 -0
- data/app/views/projects/index.html.erb +157 -0
- data/app/views/projects/new.html.erb +7 -0
- data/app/views/releases/_antecedents.html.erb +12 -0
- data/app/views/releases/_changelog.html.erb +48 -0
- data/app/views/releases/_commits.html.erb +18 -0
- data/app/views/releases/_form.html.erb +126 -0
- data/app/views/releases/_new_release.html.erb +15 -0
- data/app/views/releases/_tickets.html.erb +12 -0
- data/app/views/releases/edit.html.erb +19 -0
- data/app/views/releases/index.html.erb +80 -0
- data/app/views/releases/new.html.erb +72 -0
- data/app/views/releases/show.html.erb +3 -0
- data/app/views/reports/index.html.erb +9 -0
- data/app/views/reports/sprint.html.erb +21 -0
- data/app/views/reports/velocity.html.erb +104 -0
- data/app/views/settings/show.html.erb +20 -0
- data/app/views/sprints/dashboard.html.erb +29 -0
- data/app/views/sprints/show.html.erb +39 -0
- data/app/views/test_runs/confirm_retry.html.erb +3 -0
- data/app/views/testing_report/_scripts.html.erb +12 -0
- data/app/views/testing_report/index.html.erb +31 -0
- data/app/views/testing_report/show.html.erb +29 -0
- data/app/views/tickets/new.html.erb +18 -0
- data/app/views/users/_form.html.erb +115 -0
- data/app/views/users/_header.html.erb +10 -0
- data/app/views/users/edit.html.erb +3 -0
- data/app/views/users/index.html.erb +80 -0
- data/app/views/users/new.html.erb +8 -0
- data/app/views/users/show.html.erb +13 -0
- data/app/views/welcome/_tdl.html.erb +31 -0
- data/app/views/welcome/index.html.erb +29 -0
- data/bin/bundle +3 -0
- data/bin/rails +4 -0
- data/bin/rake +4 -0
- data/config/application.rb +91 -0
- data/config/boot.rb +4 -0
- data/config/database.yml +21 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +48 -0
- data/config/environments/production.rb +86 -0
- data/config/environments/test.rb +45 -0
- data/config/initializers/action_view_field_error_proc.rb +30 -0
- data/config/initializers/add_navigation_renderers.rb +66 -0
- data/config/initializers/assets.rb +9 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/constants.rb +9 -0
- data/config/initializers/cookies_serializer.rb +3 -0
- data/config/initializers/devise.rb +287 -0
- data/config/initializers/filter_parameter_logging.rb +4 -0
- data/config/initializers/hard_coded_knowledge.rb +141 -0
- data/config/initializers/houston_async.rb +13 -0
- data/config/initializers/houston_benchmark.rb +11 -0
- data/config/initializers/houston_report_exception.rb +27 -0
- data/config/initializers/houston_scheduler.rb +23 -0
- data/config/initializers/houston_tdl.rb +104 -0
- data/config/initializers/houston_try.rb +24 -0
- data/config/initializers/inflections.rb +16 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/oauth_consumers.rb +18 -0
- data/config/initializers/profile_gc.rb +1 -0
- data/config/initializers/requirements.rb +4 -0
- data/config/initializers/run_tests_on_post_receive.rb +1 -0
- data/config/initializers/secret_token.rb +16 -0
- data/config/initializers/session_store.rb +3 -0
- data/config/initializers/sync_commits_on_post_receive.rb +8 -0
- data/config/initializers/unfuddle.rb +6 -0
- data/config/initializers/vestal_versions.rb +9 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/devise.en.yml +59 -0
- data/config/locales/devise_invitable.en.yml +10 -0
- data/config/locales/en.yml +23 -0
- data/config/routes.rb +279 -0
- data/db/fixtures/projects.yml +21 -0
- data/db/fixtures/roles.yml +9 -0
- data/db/fixtures/users.yml +36 -0
- data/db/migrate/20120324185914_create_projects.rb +12 -0
- data/db/migrate/20120324202224_create_environments.rb +11 -0
- data/db/migrate/20120324212848_create_releases.rb +12 -0
- data/db/migrate/20120324212946_create_changes.rb +11 -0
- data/db/migrate/20120324230038_create_commits.rb +13 -0
- data/db/migrate/20120406185643_add_initial_commit_to_environments.rb +5 -0
- data/db/migrate/20120408155047_add_kanban_fields_to_projects.rb +9 -0
- data/db/migrate/20120417175450_devise_create_users.rb +52 -0
- data/db/migrate/20120417175841_devise_invitable_add_to_users.rb +23 -0
- data/db/migrate/20120417190504_add_role_to_users.rb +5 -0
- data/db/migrate/20120417195313_create_tickets.rb +12 -0
- data/db/migrate/20120417195433_create_ticket_queues.rb +11 -0
- data/db/migrate/20120424212706_create_testing_notes.rb +14 -0
- data/db/migrate/20120501230243_add_unfuddle_id_to_tickets.rb +9 -0
- data/db/migrate/20120501231817_add_expires_at_to_testing_notes.rb +5 -0
- data/db/migrate/20120501231948_add_unfuddle_id_to_testing_notes.rb +5 -0
- data/db/migrate/20120504143615_link_tickets_and_releases.rb +19 -0
- data/db/migrate/20120525013703_add_health_fields_to_projects.rb +6 -0
- data/db/migrate/20120607124115_add_cached_queries_to_projects.rb +5 -0
- data/db/migrate/20120626140242_add_deployment_to_tickets.rb +5 -0
- data/db/migrate/20120626150333_add_last_release_at_to_tickets.rb +14 -0
- data/db/migrate/20120626151320_link_tickets_and_commits.rb +17 -0
- data/db/migrate/20120626152020_add_committer_email_to_commits.rb +13 -0
- data/db/migrate/20120626152949_replace_committer_info_with_author_info.rb +12 -0
- data/db/migrate/20120715230526_change_testing_notes_comment_to_text.rb +9 -0
- data/db/migrate/20120715230922_create_user_notifications.rb +19 -0
- data/db/migrate/20120716010743_add_user_to_releases.rb +14 -0
- data/db/migrate/20120726212620_add_message_to_release.rb +5 -0
- data/db/migrate/20120726231754_link_projects_and_maintainers.rb +22 -0
- data/db/migrate/20120804003344_add_goldmine_to_tickets.rb +5 -0
- data/db/migrate/20120823025935_add_errbit_app_id_to_projects.rb +5 -0
- data/db/migrate/20120826022643_add_authentication_token_to_users.rb +13 -0
- data/db/migrate/20120827190634_add_git_last_sync_at_to_projects.rb +5 -0
- data/db/migrate/20120913020218_add_new_relic_id_to_projects.rb +5 -0
- data/db/migrate/20120920023251_add_administrator_to_users.rb +17 -0
- data/db/migrate/20120922010212_add_unfuddle_id_to_users.rb +5 -0
- data/db/migrate/20121026014457_split_users_name_into_first_and_last.rb +22 -0
- data/db/migrate/20121027160548_create_deploys.rb +11 -0
- data/db/migrate/20121027171215_add_deploy_id_to_releases.rb +6 -0
- data/db/migrate/20121104233305_add_tag_slug_to_changes.rb +5 -0
- data/db/migrate/20121126005019_add_retired_at_to_projects.rb +5 -0
- data/db/migrate/20121214025558_add_estimated_effort_and_estimated_value_to_tickets.rb +6 -0
- data/db/migrate/20121219202734_add_category_to_projects.rb +5 -0
- data/db/migrate/20121220031008_add_expires_at_to_tickets.rb +5 -0
- data/db/migrate/20121222170917_add_version_control_adapter_to_projects.rb +17 -0
- data/db/migrate/20121222223325_remove_unused_fields_from_projects.rb +21 -0
- data/db/migrate/20121222223635_add_ticket_tracking_adapter_to_projects.rb +17 -0
- data/db/migrate/20121224212623_rename_environments.rb +29 -0
- data/db/migrate/20121225175106_replace_environment_id_with_environment_name.rb +39 -0
- data/db/migrate/20121230173644_setup_hstore.rb +9 -0
- data/db/migrate/20121230174234_create_test_runs.rb +22 -0
- data/db/migrate/20130105200429_add_c_i_adapter_to_projects.rb +5 -0
- data/db/migrate/20130106184327_replace_test_runs_details_with_tests.rb +11 -0
- data/db/migrate/20130106185425_add_total_count_to_test_runs.rb +5 -0
- data/db/migrate/20130119203853_remove_cached_queries_from_projects.rb +9 -0
- data/db/migrate/20130119204608_add_extended_attributes_to_tickets.rb +35 -0
- data/db/migrate/20130119211540_remove_estimated_effort_and_estimated_value_from_tickets.rb +11 -0
- data/db/migrate/20130119212008_rename_tickets_unfuddle_id_to_remote_id.rb +5 -0
- data/db/migrate/20130120182026_create_ticket_prerequisites.rb +13 -0
- data/db/migrate/20130211015046_add_min_passing_verdicts_to_projects.rb +5 -0
- data/db/migrate/20130302205014_change_default_role_for_users.rb +8 -0
- data/db/migrate/20130306023456_add_agent_email_to_test_runs.rb +5 -0
- data/db/migrate/20130306023613_add_branch_to_test_runs.rb +5 -0
- data/db/migrate/20130312224911_create_errors.rb +12 -0
- data/db/migrate/20130319003918_add_coverage_to_test_runs.rb +7 -0
- data/db/migrate/20130407195450_create_roles.rb +14 -0
- data/db/migrate/20130407200624_populate_roles.rb +43 -0
- data/db/migrate/20130407220039_add_project_id_to_testing_notes.rb +26 -0
- data/db/migrate/20130407220937_add_project_id_to_commits.rb +26 -0
- data/db/migrate/20130416020627_add_environments_subscribed_to_to_users.rb +17 -0
- data/db/migrate/20130420151334_rename_ticket_tracking_to_ticket_tracker.rb +6 -0
- data/db/migrate/20130420155332_rename_projects_version_control_adapter_to_version_control_name.rb +5 -0
- data/db/migrate/20130420172322_rename_projects_ci_adapter_to_ci_server_name.rb +5 -0
- data/db/migrate/20130420174002_rename_projects_errbit_app_id_to_error_tracker_id.rb +5 -0
- data/db/migrate/20130420174126_add_error_tracker_name_to_projects.rb +11 -0
- data/db/migrate/20130427223925_create_project_quotas.rb +14 -0
- data/db/migrate/20130428005808_create_settings.rb +8 -0
- data/db/migrate/20130504014802_add_extended_attributes_to_projects.rb +19 -0
- data/db/migrate/20130504135741_add_antecedents_to_tickets.rb +26 -0
- data/db/migrate/20130505144446_add_tags_to_tickets.rb +9 -0
- data/db/migrate/20130505162039_add_type_to_tickets.rb +9 -0
- data/db/migrate/20130505212838_add_closed_at_to_tickets.rb +9 -0
- data/db/migrate/20130518224352_drop_environments.rb +9 -0
- data/db/migrate/20130518224406_drop_projects_maintainers.rb +9 -0
- data/db/migrate/20130518224655_remove_goldmine_from_tickets.rb +9 -0
- data/db/migrate/20130518224722_remove_pre_adapter_fields_from_projects.rb +11 -0
- data/db/migrate/20130519163615_create_user_credentials.rb +18 -0
- data/db/migrate/20130525192607_add_reporter_email_and_reporter_id_to_tickets.rb +6 -0
- data/db/migrate/20130525222131_add_regression_count_to_test_runs.rb +5 -0
- data/db/migrate/20130526024851_give_default_values_for_counts_from_test_runs.rb +19 -0
- data/db/migrate/20130706141443_drop_deprecated_project_roles.rb +9 -0
- data/db/migrate/20130710233849_add_authored_at_to_commits.rb +52 -0
- data/db/migrate/20130711004558_downcase_commits_committer_emails.rb +10 -0
- data/db/migrate/20130711013156_link_commits_and_users.rb +35 -0
- data/db/migrate/20130728191005_add_retired_at_to_users.rb +5 -0
- data/db/migrate/20130806143651_link_commits_and_releases.rb +18 -0
- data/db/migrate/20130815232527_add_unreachable_to_commits.rb +6 -0
- data/db/migrate/20130914152419_rename_test_runs_commit_to_sha.rb +9 -0
- data/db/migrate/20130914155044_add_code_climate_repo_token_to_projects.rb +5 -0
- data/db/migrate/20130921141449_create_milestones.rb +19 -0
- data/db/migrate/20131002005512_add_last_ticket_tracker_sync_at_to_projects.rb +5 -0
- data/db/migrate/20131002015547_add_ticket_tracker_sync_started_at_to_projects.rb +5 -0
- data/db/migrate/20131002145620_add_destroyed_at_to_tickets.rb +6 -0
- data/db/migrate/20131003014023_add_destroyed_at_to_milestones.rb +6 -0
- data/db/migrate/20131004015452_add_resolution_to_tickets.rb +6 -0
- data/db/migrate/20131004185618_add_first_release_at_to_tickets.rb +14 -0
- data/db/migrate/20131012152403_create_sprints.rb +15 -0
- data/db/migrate/20131013185636_add_checked_out_to_tickets.rb +6 -0
- data/db/migrate/20131027214942_add_priority_to_tickets.rb +5 -0
- data/db/migrate/20131112010815_delete_duplicate_commits.rb +33 -0
- data/db/migrate/20131216014505_create_oauth_consumer_tokens.rb +20 -0
- data/db/migrate/20131223194246_add_reopened_at_to_tickets.rb +5 -0
- data/db/migrate/20140106212047_add_options_to_projects.rb +5 -0
- data/db/migrate/20140106212305_add_options_to_users.rb +5 -0
- data/db/migrate/20140114014144_add_deployer_to_deploys.rb +5 -0
- data/db/migrate/20140217150735_drop_table_user_notifications.rb +9 -0
- data/db/migrate/20140217160450_add_email_addresses_to_users.rb +18 -0
- data/db/migrate/20140217195942_add_prerequisites_to_tickets.rb +5 -0
- data/db/migrate/20140327020121_drop_ticket_prerequisites.rb +9 -0
- data/db/migrate/20140401234330_add_index_to_ticket_queues.rb +6 -0
- data/db/migrate/20140406183224_remove_new_relic_id_from_projects.rb +9 -0
- data/db/migrate/20140406230121_delete_automatically_generated_messages_for_releases.rb +12 -0
- data/db/migrate/20140407010111_drop_sprints_project_id.rb +9 -0
- data/db/migrate/20140411214022_add_invitation_created_at_to_user.rb +5 -0
- data/db/migrate/20140418133005_change_ticket_antecedents_to_text_array.rb +9 -0
- data/db/migrate/20140419152214_add_gemnasium_slug_to_projects.rb +5 -0
- data/db/migrate/20140425141946_embed_changes_in_releases.rb +19 -0
- data/db/migrate/20140427235508_prevent_release_changes_from_being_null.rb +6 -0
- data/db/migrate/20140428023146_prevent_ticket_number_from_being_null.rb +5 -0
- data/db/migrate/20140429000919_add_feature_states_to_projects.rb +5 -0
- data/db/migrate/20140506032958_add_locked_to_sprints.rb +5 -0
- data/db/migrate/20140506035755_create_value_statements.rb +9 -0
- data/db/migrate/20140511024021_rename_testing_notes_unfuddle_id_to_remote_id.rb +5 -0
- data/db/migrate/20140515174322_create_tasks.rb +20 -0
- data/db/migrate/20140515200824_link_tasks_and_commits.rb +8 -0
- data/db/migrate/20140516005310_link_tasks_and_releases.rb +8 -0
- data/db/migrate/20140516012049_create_tasks_for_existing_tickets.rb +33 -0
- data/db/migrate/20140517012626_prevent_hstore_fields_from_being_null.rb +22 -0
- data/db/migrate/20140521014652_allow_task_descriptions_to_be_null.rb +13 -0
- data/db/migrate/20140526155845_add_commit_id_to_deploys.rb +31 -0
- data/db/migrate/20140526162645_add_commit_before_id_and_commit_after_id_to_releases.rb +28 -0
- data/db/migrate/20140526180608_associate_remaining_deploys_and_releases.rb +60 -0
- data/db/migrate/20140606232907_create_vestal_versions.rb +28 -0
- data/db/migrate/20140724231918_create_sprints_tasks.rb +17 -0
- data/db/migrate/20140806233301_add_position_to_milestones.rb +5 -0
- data/db/migrate/20140810224209_add_size_and_units_to_milestones.rb +7 -0
- data/db/migrate/20140824194031_add_project_id_to_tasks.rb +11 -0
- data/db/migrate/20140824194526_add_completed_at_to_tasks.rb +20 -0
- data/db/migrate/20140824211249_require_sprints_to_be_unique.rb +9 -0
- data/db/migrate/20140907012329_drop_table_changes.rb +9 -0
- data/db/migrate/20140907013836_drop_table_errors.rb +9 -0
- data/db/migrate/20140921190022_add_checked_out_to_sprints_tasks.rb +19 -0
- data/db/migrate/20140921201441_drop_users_name.rb +9 -0
- data/db/migrate/20140925021043_rename_deploys_commit_to_sha.rb +17 -0
- data/db/migrate/20140929004347_create_historical_heads.rb +23 -0
- data/db/migrate/20141027194819_make_users_environments_subscribed_to_an_array.rb +18 -0
- data/db/migrate/20141202004123_add_duration_to_deploys.rb +5 -0
- data/db/migrate/20141226171730_create_measurements.rb +17 -0
- data/db/migrate/20150116153233_add_timestamps_to_measurements.rb +6 -0
- data/db/migrate/20150119154013_drop_unused_fields_from_milestones.rb +13 -0
- data/db/migrate/20150220215154_add_branch_to_deploys.rb +5 -0
- data/db/migrate/20150222205616_add_features_to_projects.rb +12 -0
- data/db/migrate/20150222214124_add_current_project_to_users.rb +5 -0
- data/db/migrate/20150223013721_add_nickname_to_users.rb +5 -0
- data/db/migrate/20150302153319_add_username_to_users.rb +5 -0
- data/db/migrate/20150323004452_add_deploys_completed_at.rb +10 -0
- data/db/migrate/20150323011050_add_output_to_deploy.rb +5 -0
- data/db/migrate/20150805180939_add_commit_id_to_test_runs.rb +30 -0
- data/db/migrate/20150805233946_add_user_id_to_test_runs.rb +23 -0
- data/db/migrate/20150806032230_create_tests.rb +33 -0
- data/db/migrate/20150808161729_create_test_errors.rb +10 -0
- data/db/migrate/20150808161805_create_test_results.rb +72 -0
- data/db/migrate/20150808162928_index_test_runs_on_commit_id.rb +5 -0
- data/db/migrate/20150808192103_index_commits_on_sha.rb +5 -0
- data/db/migrate/20150808193354_add_parent_sha_to_commits.rb +43 -0
- data/db/migrate/20150809132417_rename_test_results_regression_to_difference.rb +11 -0
- data/db/migrate/20150809201942_add_compared_to_test_runs.rb +5 -0
- data/db/migrate/20150817232311_create_pull_requests.rb +25 -0
- data/db/migrate/20150820023708_add_labels_to_pull_requests.rb +5 -0
- data/db/migrate/20150902005758_downcase_environment_names.rb +19 -0
- data/db/migrate/20150902010629_add_user_id_to_deploys.rb +5 -0
- data/db/migrate/20150902010853_populate_deploys_user.rb +13 -0
- data/db/seeds.rb +9 -0
- data/db/structure.sql +2282 -0
- data/houston.gemspec +99 -0
- data/lib/configuration.rb +764 -0
- data/lib/core_ext/duration.rb +21 -0
- data/lib/core_ext/exception.rb +7 -0
- data/lib/core_ext/hash.rb +51 -0
- data/lib/core_ext/kernel.rb +23 -0
- data/lib/houston/application.rb +1 -0
- data/lib/houston/version.rb +3 -0
- data/lib/houston_daemonize.rb +37 -0
- data/lib/houston_observer.rb +69 -0
- data/lib/houston_server.rb +31 -0
- data/lib/parallel_enumerable.rb +56 -0
- data/lib/patches/sprockets_output_path_for_assets.rb +29 -0
- data/lib/tasks/.gitkeep +0 -0
- data/lib/tasks/.keep +0 -0
- data/lib/tasks/config.rake +255 -0
- data/lib/tasks/keypair.rake +18 -0
- data/lib/unexpected_response.rb +22 -0
- data/log/.gitkeep +0 -0
- data/log/.keep +0 -0
- data/script/bootstrap +14 -0
- data/script/cibuild +9 -0
- data/support/award.ai +4409 -19
- data/support/badges.ai +4621 -19
- data/support/bugs-1.ai +1364 -1
- data/support/bugs-2.ai +806 -1
- data/support/chevron.ai +4431 -19
- data/support/favicon.psd +0 -0
- data/support/flask.ai +386 -1
- data/support/headings.ai +394 -0
- data/support/new-window-link-12.gif +0 -0
- data/support/newrelic.ai +204 -0
- data/support/newrelic.png +0 -0
- data/support/wrench.ai +4389 -20
- data/vendor/assets/javascripts/.gitkeep +0 -0
- data/vendor/assets/javascripts/.keep +0 -0
- data/vendor/assets/javascripts/Markdown.Converter.js +1412 -0
- data/vendor/assets/javascripts/alertify.js +1 -0
- data/vendor/assets/javascripts/bootstrap.js +2280 -0
- data/vendor/assets/javascripts/d3.v3.js +9274 -0
- data/vendor/assets/javascripts/dropzone.js +1728 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.accordion.js +572 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.autocomplete.js +608 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.button.js +419 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.core.js +324 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.datepicker.js +2050 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.dialog.js +799 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.draggable.js +943 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.droppable.js +371 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-blind.js +82 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-bounce.js +113 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-clip.js +67 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-drop.js +65 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-explode.js +97 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-fade.js +30 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-fold.js +76 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-highlight.js +50 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-pulsate.js +63 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-scale.js +318 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-shake.js +74 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-slide.js +64 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect-transfer.js +47 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.effect.js +1268 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.menu.js +621 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.mouse.js +169 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.position.js +497 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.progressbar.js +145 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.resizable.js +946 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.selectable.js +277 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.slider.js +672 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.sortable.js +1250 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.spinner.js +492 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.tabs.js +846 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.tooltip.js +402 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.1/jquery.ui.widget.js +521 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery-ui-i18n.js +1379 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-af.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ar.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-az.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-bg.js +24 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-bs.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ca.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-cs.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-da.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-de.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-el.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-en-AU.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-en-GB.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-eo.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-es.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-et.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-eu.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-fa.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-fi.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-fo.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-fr.js +25 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-gl.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-he.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-hr.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-hu.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-hy.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-id.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-is.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-it.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ja.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ko.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-kz.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-lt.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-lv.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ml.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ms.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-nl.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-no.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-pl.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-pt.js +22 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-rm.js +21 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ro.js +26 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ru.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-sk.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-sl.js +24 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-sq.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-sr.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-sv.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-ta.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-th.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-tj.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-tr.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-uk.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-vi.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.blind.js +49 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.bounce.js +78 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.clip.js +54 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.core.js +746 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.drop.js +50 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.explode.js +79 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.fade.js +32 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.fold.js +56 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.highlight.js +49 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.pulsate.js +51 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.scale.js +178 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.shake.js +57 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.slide.js +50 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.effects.transfer.js +45 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.accordion.js +611 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.autocomplete.js +612 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.button.js +416 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.core.js +312 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.datepicker.js +1814 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.dialog.js +879 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.draggable.js +823 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.droppable.js +296 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.mouse.js +160 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.position.js +252 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.progressbar.js +109 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.resizable.js +842 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.selectable.js +266 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.slider.js +666 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.sortable.js +1077 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.tabs.js +758 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.4/jquery.ui.widget.js +262 -0
- data/vendor/assets/javascripts/jquery-ui.js +55 -0
- data/vendor/assets/javascripts/jquery.autosize.js +242 -0
- data/vendor/assets/javascripts/jquery.pjax.js +817 -0
- data/vendor/assets/javascripts/jquery.tablesorter.js +1032 -0
- data/vendor/assets/javascripts/jquery.timeago.js +214 -0
- data/vendor/assets/javascripts/md5.js +202 -0
- data/vendor/assets/javascripts/mousetrap.js +953 -0
- data/vendor/assets/stylesheets/.gitkeep +0 -0
- data/vendor/assets/stylesheets/.keep +0 -0
- data/vendor/assets/stylesheets/alertify-bootstrap-3.css +2 -0
- data/vendor/assets/stylesheets/alertify-bootstrap.css +2 -0
- data/vendor/assets/stylesheets/alertify.css +2 -0
- data/vendor/assets/stylesheets/bootstrap-responsive.css +800 -0
- data/vendor/assets/stylesheets/bootstrap.css +6163 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.accordion.css +38 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.autocomplete.css +16 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.button.css +114 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.core.css +93 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.datepicker.css +178 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.dialog.css +69 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.menu.css +77 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.progressbar.css +28 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.resizable.css +78 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.selectable.css +15 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.slider.css +73 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.spinner.css +65 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.tabs.css +52 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.theme.css +406 -0
- data/vendor/assets/stylesheets/jquery-ui-1.10.1/jquery.ui.tooltip.css +19 -0
- data/vendor/assets/stylesheets/jquery-ui.css +28 -0
- data/vendor/images/fa-bank.svg +9 -0
- data/vendor/images/fa-bell.svg +9 -0
- data/vendor/images/fa-bomb.svg +9 -0
- data/vendor/images/fa-bug.svg +9 -0
- data/vendor/images/fa-bullhorn.svg +6 -0
- data/vendor/images/fa-burndown.svg +15 -0
- data/vendor/images/fa-calendar-o.svg +9 -0
- data/vendor/images/fa-comment.svg +9 -0
- data/vendor/images/fa-comments.svg +9 -0
- data/vendor/images/fa-database.svg +9 -0
- data/vendor/images/fa-fire-extinguisher.svg +9 -0
- data/vendor/images/fa-gear.svg +6 -0
- data/vendor/images/fa-lightbulb-o.svg +9 -0
- data/vendor/images/fa-paper-plane.svg +9 -0
- data/vendor/images/fa-road.svg +9 -0
- data/vendor/images/fa-user.svg +9 -0
- metadata +1611 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
class RenameTestResultsRegressionToDifference < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
rename_column :test_results, :regression, :different
|
4
|
+
add_column :test_results, :new_test, :boolean, null: true, default: nil
|
5
|
+
end
|
6
|
+
|
7
|
+
def down
|
8
|
+
remove_column :test_results, :new_test
|
9
|
+
rename_column :test_results, :different, :regression
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
class CreatePullRequests < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :pull_requests do |t|
|
4
|
+
t.references :project, null: false
|
5
|
+
t.references :user
|
6
|
+
|
7
|
+
t.string :title, null: false
|
8
|
+
t.integer :number, null: false
|
9
|
+
t.string :repo, null: false
|
10
|
+
t.string :username, null: false
|
11
|
+
t.string :url, null: false
|
12
|
+
t.string :base_ref, null: false
|
13
|
+
t.string :base_sha, null: false
|
14
|
+
t.string :head_ref, null: false
|
15
|
+
t.string :head_sha, null: false
|
16
|
+
|
17
|
+
t.index :project_id
|
18
|
+
end
|
19
|
+
|
20
|
+
create_table :commits_pull_requests, id: false do |t|
|
21
|
+
t.references :commit, :pull_request
|
22
|
+
t.index [:commit_id, :pull_request_id], unique: true
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class DowncaseEnvironmentNames < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
deploys = Deploy.all
|
4
|
+
pbar = ProgressBar.new("deploys", deploys.count)
|
5
|
+
deploys.find_each do |deploy|
|
6
|
+
deploy.update_column :environment_name, deploy.environment_name.downcase
|
7
|
+
pbar.inc
|
8
|
+
end
|
9
|
+
pbar.finish
|
10
|
+
|
11
|
+
releases = Release.all
|
12
|
+
pbar = ProgressBar.new("releases", releases.count)
|
13
|
+
releases.find_each do |release|
|
14
|
+
release.update_column :environment_name, release.environment_name.downcase
|
15
|
+
pbar.inc
|
16
|
+
end
|
17
|
+
pbar.finish
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class PopulateDeploysUser < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
deploys = Deploy.where("deployer IS NOT NULL")
|
4
|
+
pbar = ProgressBar.new("deploys", deploys.count)
|
5
|
+
user_id_by_email = Hash.new { |hash, email| hash[email] = User.find_by_email_address(email).try :id }
|
6
|
+
deploys.find_each do |deploy|
|
7
|
+
user_id = user_id_by_email[deploy.deployer]
|
8
|
+
deploy.update_column :user_id, user_id if user_id
|
9
|
+
pbar.inc
|
10
|
+
end
|
11
|
+
pbar.finish
|
12
|
+
end
|
13
|
+
end
|
data/db/seeds.rb
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
+
|
4
|
+
require 'active_record/fixtures'
|
5
|
+
|
6
|
+
path = Rails.root.join("db", "fixtures").to_s
|
7
|
+
tables = Dir.entries(path).map { |file| file[/^.*(?=\.yml$)/] }.compact
|
8
|
+
|
9
|
+
ActiveRecord::Fixtures.create_fixtures(path, tables)
|
data/db/structure.sql
ADDED
@@ -0,0 +1,2282 @@
|
|
1
|
+
--
|
2
|
+
-- PostgreSQL database dump
|
3
|
+
--
|
4
|
+
|
5
|
+
SET statement_timeout = 0;
|
6
|
+
SET lock_timeout = 0;
|
7
|
+
SET client_encoding = 'UTF8';
|
8
|
+
SET standard_conforming_strings = on;
|
9
|
+
SET check_function_bodies = false;
|
10
|
+
SET client_min_messages = warning;
|
11
|
+
|
12
|
+
--
|
13
|
+
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
|
14
|
+
--
|
15
|
+
|
16
|
+
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
|
17
|
+
|
18
|
+
|
19
|
+
--
|
20
|
+
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
|
21
|
+
--
|
22
|
+
|
23
|
+
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
|
24
|
+
|
25
|
+
|
26
|
+
--
|
27
|
+
-- Name: hstore; Type: EXTENSION; Schema: -; Owner: -
|
28
|
+
--
|
29
|
+
|
30
|
+
CREATE EXTENSION IF NOT EXISTS hstore WITH SCHEMA public;
|
31
|
+
|
32
|
+
|
33
|
+
--
|
34
|
+
-- Name: EXTENSION hstore; Type: COMMENT; Schema: -; Owner: -
|
35
|
+
--
|
36
|
+
|
37
|
+
COMMENT ON EXTENSION hstore IS 'data type for storing sets of (key, value) pairs';
|
38
|
+
|
39
|
+
|
40
|
+
SET search_path = public, pg_catalog;
|
41
|
+
|
42
|
+
--
|
43
|
+
-- Name: test_result_status; Type: TYPE; Schema: public; Owner: -
|
44
|
+
--
|
45
|
+
|
46
|
+
CREATE TYPE test_result_status AS ENUM (
|
47
|
+
'fail',
|
48
|
+
'skip',
|
49
|
+
'pass'
|
50
|
+
);
|
51
|
+
|
52
|
+
|
53
|
+
SET default_tablespace = '';
|
54
|
+
|
55
|
+
SET default_with_oids = false;
|
56
|
+
|
57
|
+
--
|
58
|
+
-- Name: commits; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
59
|
+
--
|
60
|
+
|
61
|
+
CREATE TABLE commits (
|
62
|
+
id integer NOT NULL,
|
63
|
+
release_id integer,
|
64
|
+
sha character varying(255),
|
65
|
+
message text,
|
66
|
+
committer character varying(255),
|
67
|
+
date date,
|
68
|
+
created_at timestamp without time zone,
|
69
|
+
updated_at timestamp without time zone,
|
70
|
+
committer_email character varying(255),
|
71
|
+
project_id integer NOT NULL,
|
72
|
+
authored_at timestamp without time zone NOT NULL,
|
73
|
+
unreachable boolean DEFAULT false NOT NULL,
|
74
|
+
parent_sha character varying(255)
|
75
|
+
);
|
76
|
+
|
77
|
+
|
78
|
+
--
|
79
|
+
-- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
80
|
+
--
|
81
|
+
|
82
|
+
CREATE SEQUENCE commits_id_seq
|
83
|
+
START WITH 1
|
84
|
+
INCREMENT BY 1
|
85
|
+
NO MINVALUE
|
86
|
+
NO MAXVALUE
|
87
|
+
CACHE 1;
|
88
|
+
|
89
|
+
|
90
|
+
--
|
91
|
+
-- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
92
|
+
--
|
93
|
+
|
94
|
+
ALTER SEQUENCE commits_id_seq OWNED BY commits.id;
|
95
|
+
|
96
|
+
|
97
|
+
--
|
98
|
+
-- Name: commits_pull_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
99
|
+
--
|
100
|
+
|
101
|
+
CREATE TABLE commits_pull_requests (
|
102
|
+
commit_id integer,
|
103
|
+
pull_request_id integer
|
104
|
+
);
|
105
|
+
|
106
|
+
|
107
|
+
--
|
108
|
+
-- Name: commits_releases; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
109
|
+
--
|
110
|
+
|
111
|
+
CREATE TABLE commits_releases (
|
112
|
+
commit_id integer,
|
113
|
+
release_id integer
|
114
|
+
);
|
115
|
+
|
116
|
+
|
117
|
+
--
|
118
|
+
-- Name: commits_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
119
|
+
--
|
120
|
+
|
121
|
+
CREATE TABLE commits_tasks (
|
122
|
+
commit_id integer,
|
123
|
+
task_id integer
|
124
|
+
);
|
125
|
+
|
126
|
+
|
127
|
+
--
|
128
|
+
-- Name: commits_tickets; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
129
|
+
--
|
130
|
+
|
131
|
+
CREATE TABLE commits_tickets (
|
132
|
+
commit_id integer,
|
133
|
+
ticket_id integer
|
134
|
+
);
|
135
|
+
|
136
|
+
|
137
|
+
--
|
138
|
+
-- Name: commits_users; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
139
|
+
--
|
140
|
+
|
141
|
+
CREATE TABLE commits_users (
|
142
|
+
commit_id integer,
|
143
|
+
user_id integer
|
144
|
+
);
|
145
|
+
|
146
|
+
|
147
|
+
--
|
148
|
+
-- Name: consumer_tokens; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
149
|
+
--
|
150
|
+
|
151
|
+
CREATE TABLE consumer_tokens (
|
152
|
+
id integer NOT NULL,
|
153
|
+
user_id integer,
|
154
|
+
type character varying(30),
|
155
|
+
token character varying(1024),
|
156
|
+
refresh_token character varying(255),
|
157
|
+
secret character varying(255),
|
158
|
+
expires_at integer,
|
159
|
+
expires_in character varying(255),
|
160
|
+
created_at timestamp without time zone,
|
161
|
+
updated_at timestamp without time zone
|
162
|
+
);
|
163
|
+
|
164
|
+
|
165
|
+
--
|
166
|
+
-- Name: consumer_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
167
|
+
--
|
168
|
+
|
169
|
+
CREATE SEQUENCE consumer_tokens_id_seq
|
170
|
+
START WITH 1
|
171
|
+
INCREMENT BY 1
|
172
|
+
NO MINVALUE
|
173
|
+
NO MAXVALUE
|
174
|
+
CACHE 1;
|
175
|
+
|
176
|
+
|
177
|
+
--
|
178
|
+
-- Name: consumer_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
179
|
+
--
|
180
|
+
|
181
|
+
ALTER SEQUENCE consumer_tokens_id_seq OWNED BY consumer_tokens.id;
|
182
|
+
|
183
|
+
|
184
|
+
--
|
185
|
+
-- Name: deploys; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
186
|
+
--
|
187
|
+
|
188
|
+
CREATE TABLE deploys (
|
189
|
+
id integer NOT NULL,
|
190
|
+
project_id integer,
|
191
|
+
environment_id integer,
|
192
|
+
sha character varying(255) NOT NULL,
|
193
|
+
created_at timestamp without time zone,
|
194
|
+
updated_at timestamp without time zone,
|
195
|
+
environment_name character varying(255) DEFAULT 'Production'::character varying NOT NULL,
|
196
|
+
deployer character varying(255),
|
197
|
+
commit_id integer,
|
198
|
+
duration integer,
|
199
|
+
branch character varying(255),
|
200
|
+
completed_at timestamp without time zone,
|
201
|
+
output text,
|
202
|
+
user_id integer
|
203
|
+
);
|
204
|
+
|
205
|
+
|
206
|
+
--
|
207
|
+
-- Name: deploys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
208
|
+
--
|
209
|
+
|
210
|
+
CREATE SEQUENCE deploys_id_seq
|
211
|
+
START WITH 1
|
212
|
+
INCREMENT BY 1
|
213
|
+
NO MINVALUE
|
214
|
+
NO MAXVALUE
|
215
|
+
CACHE 1;
|
216
|
+
|
217
|
+
|
218
|
+
--
|
219
|
+
-- Name: deploys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
220
|
+
--
|
221
|
+
|
222
|
+
ALTER SEQUENCE deploys_id_seq OWNED BY deploys.id;
|
223
|
+
|
224
|
+
|
225
|
+
--
|
226
|
+
-- Name: historical_heads; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
227
|
+
--
|
228
|
+
|
229
|
+
CREATE TABLE historical_heads (
|
230
|
+
id integer NOT NULL,
|
231
|
+
project_id integer NOT NULL,
|
232
|
+
branches hstore DEFAULT ''::hstore NOT NULL,
|
233
|
+
created_at timestamp without time zone,
|
234
|
+
updated_at timestamp without time zone
|
235
|
+
);
|
236
|
+
|
237
|
+
|
238
|
+
--
|
239
|
+
-- Name: historical_heads_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
240
|
+
--
|
241
|
+
|
242
|
+
CREATE SEQUENCE historical_heads_id_seq
|
243
|
+
START WITH 1
|
244
|
+
INCREMENT BY 1
|
245
|
+
NO MINVALUE
|
246
|
+
NO MAXVALUE
|
247
|
+
CACHE 1;
|
248
|
+
|
249
|
+
|
250
|
+
--
|
251
|
+
-- Name: historical_heads_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
252
|
+
--
|
253
|
+
|
254
|
+
ALTER SEQUENCE historical_heads_id_seq OWNED BY historical_heads.id;
|
255
|
+
|
256
|
+
|
257
|
+
--
|
258
|
+
-- Name: measurements; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
259
|
+
--
|
260
|
+
|
261
|
+
CREATE TABLE measurements (
|
262
|
+
id integer NOT NULL,
|
263
|
+
subject_type character varying(255),
|
264
|
+
subject_id integer,
|
265
|
+
name character varying(255) NOT NULL,
|
266
|
+
value character varying(255) NOT NULL,
|
267
|
+
taken_at timestamp without time zone NOT NULL,
|
268
|
+
taken_on date NOT NULL,
|
269
|
+
created_at timestamp without time zone,
|
270
|
+
updated_at timestamp without time zone
|
271
|
+
);
|
272
|
+
|
273
|
+
|
274
|
+
--
|
275
|
+
-- Name: measurements_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
276
|
+
--
|
277
|
+
|
278
|
+
CREATE SEQUENCE measurements_id_seq
|
279
|
+
START WITH 1
|
280
|
+
INCREMENT BY 1
|
281
|
+
NO MINVALUE
|
282
|
+
NO MAXVALUE
|
283
|
+
CACHE 1;
|
284
|
+
|
285
|
+
|
286
|
+
--
|
287
|
+
-- Name: measurements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
288
|
+
--
|
289
|
+
|
290
|
+
ALTER SEQUENCE measurements_id_seq OWNED BY measurements.id;
|
291
|
+
|
292
|
+
|
293
|
+
--
|
294
|
+
-- Name: milestones; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
295
|
+
--
|
296
|
+
|
297
|
+
CREATE TABLE milestones (
|
298
|
+
id integer NOT NULL,
|
299
|
+
project_id integer NOT NULL,
|
300
|
+
remote_id integer,
|
301
|
+
name character varying(255) NOT NULL,
|
302
|
+
tickets_count integer DEFAULT 0,
|
303
|
+
completed_at timestamp without time zone,
|
304
|
+
extended_attributes hstore DEFAULT ''::hstore NOT NULL,
|
305
|
+
created_at timestamp without time zone,
|
306
|
+
updated_at timestamp without time zone,
|
307
|
+
destroyed_at timestamp without time zone,
|
308
|
+
start_date date
|
309
|
+
);
|
310
|
+
|
311
|
+
|
312
|
+
--
|
313
|
+
-- Name: milestones_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
314
|
+
--
|
315
|
+
|
316
|
+
CREATE SEQUENCE milestones_id_seq
|
317
|
+
START WITH 1
|
318
|
+
INCREMENT BY 1
|
319
|
+
NO MINVALUE
|
320
|
+
NO MAXVALUE
|
321
|
+
CACHE 1;
|
322
|
+
|
323
|
+
|
324
|
+
--
|
325
|
+
-- Name: milestones_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
326
|
+
--
|
327
|
+
|
328
|
+
ALTER SEQUENCE milestones_id_seq OWNED BY milestones.id;
|
329
|
+
|
330
|
+
|
331
|
+
--
|
332
|
+
-- Name: project_quotas; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
333
|
+
--
|
334
|
+
|
335
|
+
CREATE TABLE project_quotas (
|
336
|
+
id integer NOT NULL,
|
337
|
+
project_id integer NOT NULL,
|
338
|
+
week date NOT NULL,
|
339
|
+
value integer NOT NULL,
|
340
|
+
created_at timestamp without time zone,
|
341
|
+
updated_at timestamp without time zone
|
342
|
+
);
|
343
|
+
|
344
|
+
|
345
|
+
--
|
346
|
+
-- Name: project_quotas_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
347
|
+
--
|
348
|
+
|
349
|
+
CREATE SEQUENCE project_quotas_id_seq
|
350
|
+
START WITH 1
|
351
|
+
INCREMENT BY 1
|
352
|
+
NO MINVALUE
|
353
|
+
NO MAXVALUE
|
354
|
+
CACHE 1;
|
355
|
+
|
356
|
+
|
357
|
+
--
|
358
|
+
-- Name: project_quotas_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
359
|
+
--
|
360
|
+
|
361
|
+
ALTER SEQUENCE project_quotas_id_seq OWNED BY project_quotas.id;
|
362
|
+
|
363
|
+
|
364
|
+
--
|
365
|
+
-- Name: projects; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
366
|
+
--
|
367
|
+
|
368
|
+
CREATE TABLE projects (
|
369
|
+
id integer NOT NULL,
|
370
|
+
name character varying(255),
|
371
|
+
slug character varying(255),
|
372
|
+
created_at timestamp without time zone,
|
373
|
+
updated_at timestamp without time zone,
|
374
|
+
color character varying(255),
|
375
|
+
retired_at timestamp without time zone,
|
376
|
+
category character varying(255),
|
377
|
+
version_control_name character varying(255) DEFAULT 'None'::character varying NOT NULL,
|
378
|
+
ticket_tracker_name character varying(255) DEFAULT 'None'::character varying NOT NULL,
|
379
|
+
ci_server_name character varying(255) DEFAULT 'None'::character varying NOT NULL,
|
380
|
+
min_passing_verdicts integer DEFAULT 1 NOT NULL,
|
381
|
+
error_tracker_name character varying(255) DEFAULT 'None'::character varying,
|
382
|
+
extended_attributes hstore DEFAULT ''::hstore NOT NULL,
|
383
|
+
code_climate_repo_token character varying(255) DEFAULT ''::character varying NOT NULL,
|
384
|
+
last_ticket_tracker_sync_at timestamp without time zone,
|
385
|
+
ticket_tracker_sync_started_at timestamp without time zone,
|
386
|
+
view_options hstore DEFAULT ''::hstore NOT NULL,
|
387
|
+
gemnasium_slug character varying(255),
|
388
|
+
feature_states hstore DEFAULT ''::hstore NOT NULL,
|
389
|
+
selected_features text[]
|
390
|
+
);
|
391
|
+
|
392
|
+
|
393
|
+
--
|
394
|
+
-- Name: projects_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
395
|
+
--
|
396
|
+
|
397
|
+
CREATE SEQUENCE projects_id_seq
|
398
|
+
START WITH 1
|
399
|
+
INCREMENT BY 1
|
400
|
+
NO MINVALUE
|
401
|
+
NO MAXVALUE
|
402
|
+
CACHE 1;
|
403
|
+
|
404
|
+
|
405
|
+
--
|
406
|
+
-- Name: projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
407
|
+
--
|
408
|
+
|
409
|
+
ALTER SEQUENCE projects_id_seq OWNED BY projects.id;
|
410
|
+
|
411
|
+
|
412
|
+
--
|
413
|
+
-- Name: pull_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
414
|
+
--
|
415
|
+
|
416
|
+
CREATE TABLE pull_requests (
|
417
|
+
id integer NOT NULL,
|
418
|
+
project_id integer NOT NULL,
|
419
|
+
user_id integer,
|
420
|
+
title character varying(255) NOT NULL,
|
421
|
+
number integer NOT NULL,
|
422
|
+
repo character varying(255) NOT NULL,
|
423
|
+
username character varying(255) NOT NULL,
|
424
|
+
url character varying(255) NOT NULL,
|
425
|
+
base_ref character varying(255) NOT NULL,
|
426
|
+
base_sha character varying(255) NOT NULL,
|
427
|
+
head_ref character varying(255) NOT NULL,
|
428
|
+
head_sha character varying(255) NOT NULL,
|
429
|
+
labels text DEFAULT ''::text NOT NULL
|
430
|
+
);
|
431
|
+
|
432
|
+
|
433
|
+
--
|
434
|
+
-- Name: pull_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
435
|
+
--
|
436
|
+
|
437
|
+
CREATE SEQUENCE pull_requests_id_seq
|
438
|
+
START WITH 1
|
439
|
+
INCREMENT BY 1
|
440
|
+
NO MINVALUE
|
441
|
+
NO MAXVALUE
|
442
|
+
CACHE 1;
|
443
|
+
|
444
|
+
|
445
|
+
--
|
446
|
+
-- Name: pull_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
447
|
+
--
|
448
|
+
|
449
|
+
ALTER SEQUENCE pull_requests_id_seq OWNED BY pull_requests.id;
|
450
|
+
|
451
|
+
|
452
|
+
--
|
453
|
+
-- Name: releases; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
454
|
+
--
|
455
|
+
|
456
|
+
CREATE TABLE releases (
|
457
|
+
id integer NOT NULL,
|
458
|
+
environment_id integer,
|
459
|
+
name character varying(255),
|
460
|
+
commit0 character varying(255),
|
461
|
+
commit1 character varying(255),
|
462
|
+
created_at timestamp without time zone,
|
463
|
+
updated_at timestamp without time zone,
|
464
|
+
user_id integer NOT NULL,
|
465
|
+
message text DEFAULT ''::text NOT NULL,
|
466
|
+
deploy_id integer,
|
467
|
+
project_id integer DEFAULT (-1) NOT NULL,
|
468
|
+
environment_name character varying(255) DEFAULT 'Production'::character varying NOT NULL,
|
469
|
+
release_changes text DEFAULT ''::text NOT NULL,
|
470
|
+
commit_before_id integer,
|
471
|
+
commit_after_id integer
|
472
|
+
);
|
473
|
+
|
474
|
+
|
475
|
+
--
|
476
|
+
-- Name: releases_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
477
|
+
--
|
478
|
+
|
479
|
+
CREATE SEQUENCE releases_id_seq
|
480
|
+
START WITH 1
|
481
|
+
INCREMENT BY 1
|
482
|
+
NO MINVALUE
|
483
|
+
NO MAXVALUE
|
484
|
+
CACHE 1;
|
485
|
+
|
486
|
+
|
487
|
+
--
|
488
|
+
-- Name: releases_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
489
|
+
--
|
490
|
+
|
491
|
+
ALTER SEQUENCE releases_id_seq OWNED BY releases.id;
|
492
|
+
|
493
|
+
|
494
|
+
--
|
495
|
+
-- Name: releases_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
496
|
+
--
|
497
|
+
|
498
|
+
CREATE TABLE releases_tasks (
|
499
|
+
release_id integer,
|
500
|
+
task_id integer
|
501
|
+
);
|
502
|
+
|
503
|
+
|
504
|
+
--
|
505
|
+
-- Name: releases_tickets; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
506
|
+
--
|
507
|
+
|
508
|
+
CREATE TABLE releases_tickets (
|
509
|
+
release_id integer,
|
510
|
+
ticket_id integer
|
511
|
+
);
|
512
|
+
|
513
|
+
|
514
|
+
--
|
515
|
+
-- Name: roles; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
516
|
+
--
|
517
|
+
|
518
|
+
CREATE TABLE roles (
|
519
|
+
id integer NOT NULL,
|
520
|
+
user_id integer,
|
521
|
+
project_id integer,
|
522
|
+
name character varying(255) NOT NULL,
|
523
|
+
created_at timestamp without time zone,
|
524
|
+
updated_at timestamp without time zone
|
525
|
+
);
|
526
|
+
|
527
|
+
|
528
|
+
--
|
529
|
+
-- Name: roles_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
530
|
+
--
|
531
|
+
|
532
|
+
CREATE SEQUENCE roles_id_seq
|
533
|
+
START WITH 1
|
534
|
+
INCREMENT BY 1
|
535
|
+
NO MINVALUE
|
536
|
+
NO MAXVALUE
|
537
|
+
CACHE 1;
|
538
|
+
|
539
|
+
|
540
|
+
--
|
541
|
+
-- Name: roles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
542
|
+
--
|
543
|
+
|
544
|
+
ALTER SEQUENCE roles_id_seq OWNED BY roles.id;
|
545
|
+
|
546
|
+
|
547
|
+
--
|
548
|
+
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
549
|
+
--
|
550
|
+
|
551
|
+
CREATE TABLE schema_migrations (
|
552
|
+
version character varying(255) NOT NULL
|
553
|
+
);
|
554
|
+
|
555
|
+
|
556
|
+
--
|
557
|
+
-- Name: settings; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
558
|
+
--
|
559
|
+
|
560
|
+
CREATE TABLE settings (
|
561
|
+
id integer NOT NULL,
|
562
|
+
name character varying(255) NOT NULL,
|
563
|
+
value character varying(255) NOT NULL
|
564
|
+
);
|
565
|
+
|
566
|
+
|
567
|
+
--
|
568
|
+
-- Name: settings_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
569
|
+
--
|
570
|
+
|
571
|
+
CREATE SEQUENCE settings_id_seq
|
572
|
+
START WITH 1
|
573
|
+
INCREMENT BY 1
|
574
|
+
NO MINVALUE
|
575
|
+
NO MAXVALUE
|
576
|
+
CACHE 1;
|
577
|
+
|
578
|
+
|
579
|
+
--
|
580
|
+
-- Name: settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
581
|
+
--
|
582
|
+
|
583
|
+
ALTER SEQUENCE settings_id_seq OWNED BY settings.id;
|
584
|
+
|
585
|
+
|
586
|
+
--
|
587
|
+
-- Name: sprints; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
588
|
+
--
|
589
|
+
|
590
|
+
CREATE TABLE sprints (
|
591
|
+
id integer NOT NULL,
|
592
|
+
end_date date,
|
593
|
+
created_at timestamp without time zone,
|
594
|
+
updated_at timestamp without time zone,
|
595
|
+
locked boolean DEFAULT false NOT NULL
|
596
|
+
);
|
597
|
+
|
598
|
+
|
599
|
+
--
|
600
|
+
-- Name: sprints_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
601
|
+
--
|
602
|
+
|
603
|
+
CREATE SEQUENCE sprints_id_seq
|
604
|
+
START WITH 1
|
605
|
+
INCREMENT BY 1
|
606
|
+
NO MINVALUE
|
607
|
+
NO MAXVALUE
|
608
|
+
CACHE 1;
|
609
|
+
|
610
|
+
|
611
|
+
--
|
612
|
+
-- Name: sprints_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
613
|
+
--
|
614
|
+
|
615
|
+
ALTER SEQUENCE sprints_id_seq OWNED BY sprints.id;
|
616
|
+
|
617
|
+
|
618
|
+
--
|
619
|
+
-- Name: sprints_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
620
|
+
--
|
621
|
+
|
622
|
+
CREATE TABLE sprints_tasks (
|
623
|
+
sprint_id integer NOT NULL,
|
624
|
+
task_id integer NOT NULL,
|
625
|
+
checked_out_at timestamp without time zone,
|
626
|
+
checked_out_by_id integer
|
627
|
+
);
|
628
|
+
|
629
|
+
|
630
|
+
--
|
631
|
+
-- Name: tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
632
|
+
--
|
633
|
+
|
634
|
+
CREATE TABLE tasks (
|
635
|
+
id integer NOT NULL,
|
636
|
+
ticket_id integer NOT NULL,
|
637
|
+
number integer NOT NULL,
|
638
|
+
description character varying(255),
|
639
|
+
effort numeric(6,2),
|
640
|
+
first_release_at timestamp without time zone,
|
641
|
+
first_commit_at timestamp without time zone,
|
642
|
+
sprint_id integer,
|
643
|
+
checked_out_at timestamp without time zone,
|
644
|
+
checked_out_by_id integer,
|
645
|
+
created_at timestamp without time zone,
|
646
|
+
updated_at timestamp without time zone,
|
647
|
+
project_id integer NOT NULL,
|
648
|
+
completed_at timestamp without time zone
|
649
|
+
);
|
650
|
+
|
651
|
+
|
652
|
+
--
|
653
|
+
-- Name: tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
654
|
+
--
|
655
|
+
|
656
|
+
CREATE SEQUENCE tasks_id_seq
|
657
|
+
START WITH 1
|
658
|
+
INCREMENT BY 1
|
659
|
+
NO MINVALUE
|
660
|
+
NO MAXVALUE
|
661
|
+
CACHE 1;
|
662
|
+
|
663
|
+
|
664
|
+
--
|
665
|
+
-- Name: tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
666
|
+
--
|
667
|
+
|
668
|
+
ALTER SEQUENCE tasks_id_seq OWNED BY tasks.id;
|
669
|
+
|
670
|
+
|
671
|
+
--
|
672
|
+
-- Name: test_errors; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
673
|
+
--
|
674
|
+
|
675
|
+
CREATE TABLE test_errors (
|
676
|
+
id integer NOT NULL,
|
677
|
+
sha character varying(255),
|
678
|
+
output text
|
679
|
+
);
|
680
|
+
|
681
|
+
|
682
|
+
--
|
683
|
+
-- Name: test_errors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
684
|
+
--
|
685
|
+
|
686
|
+
CREATE SEQUENCE test_errors_id_seq
|
687
|
+
START WITH 1
|
688
|
+
INCREMENT BY 1
|
689
|
+
NO MINVALUE
|
690
|
+
NO MAXVALUE
|
691
|
+
CACHE 1;
|
692
|
+
|
693
|
+
|
694
|
+
--
|
695
|
+
-- Name: test_errors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
696
|
+
--
|
697
|
+
|
698
|
+
ALTER SEQUENCE test_errors_id_seq OWNED BY test_errors.id;
|
699
|
+
|
700
|
+
|
701
|
+
--
|
702
|
+
-- Name: test_results; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
703
|
+
--
|
704
|
+
|
705
|
+
CREATE TABLE test_results (
|
706
|
+
id integer NOT NULL,
|
707
|
+
test_run_id integer NOT NULL,
|
708
|
+
test_id integer NOT NULL,
|
709
|
+
status test_result_status NOT NULL,
|
710
|
+
different boolean,
|
711
|
+
duration double precision,
|
712
|
+
error_id integer,
|
713
|
+
new_test boolean
|
714
|
+
);
|
715
|
+
|
716
|
+
|
717
|
+
--
|
718
|
+
-- Name: test_results_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
719
|
+
--
|
720
|
+
|
721
|
+
CREATE SEQUENCE test_results_id_seq
|
722
|
+
START WITH 1
|
723
|
+
INCREMENT BY 1
|
724
|
+
NO MINVALUE
|
725
|
+
NO MAXVALUE
|
726
|
+
CACHE 1;
|
727
|
+
|
728
|
+
|
729
|
+
--
|
730
|
+
-- Name: test_results_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
731
|
+
--
|
732
|
+
|
733
|
+
ALTER SEQUENCE test_results_id_seq OWNED BY test_results.id;
|
734
|
+
|
735
|
+
|
736
|
+
--
|
737
|
+
-- Name: test_runs; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
738
|
+
--
|
739
|
+
|
740
|
+
CREATE TABLE test_runs (
|
741
|
+
id integer NOT NULL,
|
742
|
+
project_id integer NOT NULL,
|
743
|
+
sha character varying(255) NOT NULL,
|
744
|
+
completed_at timestamp without time zone,
|
745
|
+
results_url character varying(255),
|
746
|
+
result character varying(255),
|
747
|
+
duration integer DEFAULT 0 NOT NULL,
|
748
|
+
fail_count integer DEFAULT 0 NOT NULL,
|
749
|
+
pass_count integer DEFAULT 0 NOT NULL,
|
750
|
+
skip_count integer DEFAULT 0 NOT NULL,
|
751
|
+
created_at timestamp without time zone,
|
752
|
+
updated_at timestamp without time zone,
|
753
|
+
tests text,
|
754
|
+
total_count integer DEFAULT 0 NOT NULL,
|
755
|
+
agent_email character varying(255),
|
756
|
+
branch character varying(255),
|
757
|
+
coverage text,
|
758
|
+
covered_percent numeric(6,5) DEFAULT 0 NOT NULL,
|
759
|
+
covered_strength numeric(6,5) DEFAULT 0 NOT NULL,
|
760
|
+
regression_count integer DEFAULT 0 NOT NULL,
|
761
|
+
commit_id integer,
|
762
|
+
user_id integer,
|
763
|
+
compared boolean DEFAULT false NOT NULL
|
764
|
+
);
|
765
|
+
|
766
|
+
|
767
|
+
--
|
768
|
+
-- Name: test_runs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
769
|
+
--
|
770
|
+
|
771
|
+
CREATE SEQUENCE test_runs_id_seq
|
772
|
+
START WITH 1
|
773
|
+
INCREMENT BY 1
|
774
|
+
NO MINVALUE
|
775
|
+
NO MAXVALUE
|
776
|
+
CACHE 1;
|
777
|
+
|
778
|
+
|
779
|
+
--
|
780
|
+
-- Name: test_runs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
781
|
+
--
|
782
|
+
|
783
|
+
ALTER SEQUENCE test_runs_id_seq OWNED BY test_runs.id;
|
784
|
+
|
785
|
+
|
786
|
+
--
|
787
|
+
-- Name: testing_notes; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
788
|
+
--
|
789
|
+
|
790
|
+
CREATE TABLE testing_notes (
|
791
|
+
id integer NOT NULL,
|
792
|
+
user_id integer,
|
793
|
+
ticket_id integer,
|
794
|
+
verdict character varying(255) NOT NULL,
|
795
|
+
comment text DEFAULT ''::character varying NOT NULL,
|
796
|
+
created_at timestamp without time zone,
|
797
|
+
updated_at timestamp without time zone,
|
798
|
+
expires_at timestamp without time zone,
|
799
|
+
remote_id integer,
|
800
|
+
project_id integer NOT NULL
|
801
|
+
);
|
802
|
+
|
803
|
+
|
804
|
+
--
|
805
|
+
-- Name: testing_notes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
806
|
+
--
|
807
|
+
|
808
|
+
CREATE SEQUENCE testing_notes_id_seq
|
809
|
+
START WITH 1
|
810
|
+
INCREMENT BY 1
|
811
|
+
NO MINVALUE
|
812
|
+
NO MAXVALUE
|
813
|
+
CACHE 1;
|
814
|
+
|
815
|
+
|
816
|
+
--
|
817
|
+
-- Name: testing_notes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
818
|
+
--
|
819
|
+
|
820
|
+
ALTER SEQUENCE testing_notes_id_seq OWNED BY testing_notes.id;
|
821
|
+
|
822
|
+
|
823
|
+
--
|
824
|
+
-- Name: tests; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
825
|
+
--
|
826
|
+
|
827
|
+
CREATE TABLE tests (
|
828
|
+
id integer NOT NULL,
|
829
|
+
project_id integer NOT NULL,
|
830
|
+
suite character varying(255) NOT NULL,
|
831
|
+
name text NOT NULL
|
832
|
+
);
|
833
|
+
|
834
|
+
|
835
|
+
--
|
836
|
+
-- Name: tests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
837
|
+
--
|
838
|
+
|
839
|
+
CREATE SEQUENCE tests_id_seq
|
840
|
+
START WITH 1
|
841
|
+
INCREMENT BY 1
|
842
|
+
NO MINVALUE
|
843
|
+
NO MAXVALUE
|
844
|
+
CACHE 1;
|
845
|
+
|
846
|
+
|
847
|
+
--
|
848
|
+
-- Name: tests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
849
|
+
--
|
850
|
+
|
851
|
+
ALTER SEQUENCE tests_id_seq OWNED BY tests.id;
|
852
|
+
|
853
|
+
|
854
|
+
--
|
855
|
+
-- Name: ticket_queues; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
856
|
+
--
|
857
|
+
|
858
|
+
CREATE TABLE ticket_queues (
|
859
|
+
id integer NOT NULL,
|
860
|
+
ticket_id integer,
|
861
|
+
queue character varying(255),
|
862
|
+
destroyed_at timestamp without time zone,
|
863
|
+
created_at timestamp without time zone,
|
864
|
+
updated_at timestamp without time zone
|
865
|
+
);
|
866
|
+
|
867
|
+
|
868
|
+
--
|
869
|
+
-- Name: ticket_queues_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
870
|
+
--
|
871
|
+
|
872
|
+
CREATE SEQUENCE ticket_queues_id_seq
|
873
|
+
START WITH 1
|
874
|
+
INCREMENT BY 1
|
875
|
+
NO MINVALUE
|
876
|
+
NO MAXVALUE
|
877
|
+
CACHE 1;
|
878
|
+
|
879
|
+
|
880
|
+
--
|
881
|
+
-- Name: ticket_queues_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
882
|
+
--
|
883
|
+
|
884
|
+
ALTER SEQUENCE ticket_queues_id_seq OWNED BY ticket_queues.id;
|
885
|
+
|
886
|
+
|
887
|
+
--
|
888
|
+
-- Name: tickets; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
889
|
+
--
|
890
|
+
|
891
|
+
CREATE TABLE tickets (
|
892
|
+
id integer NOT NULL,
|
893
|
+
project_id integer,
|
894
|
+
number integer NOT NULL,
|
895
|
+
summary character varying(255),
|
896
|
+
description text,
|
897
|
+
created_at timestamp without time zone,
|
898
|
+
updated_at timestamp without time zone,
|
899
|
+
remote_id integer,
|
900
|
+
deployment character varying(255),
|
901
|
+
last_release_at timestamp without time zone,
|
902
|
+
expires_at timestamp without time zone,
|
903
|
+
extended_attributes hstore DEFAULT ''::hstore NOT NULL,
|
904
|
+
antecedents text[],
|
905
|
+
tags character varying(255)[],
|
906
|
+
type character varying(255),
|
907
|
+
closed_at timestamp without time zone,
|
908
|
+
reporter_email character varying(255),
|
909
|
+
reporter_id integer,
|
910
|
+
milestone_id integer,
|
911
|
+
destroyed_at timestamp without time zone,
|
912
|
+
resolution character varying(255) DEFAULT ''::character varying NOT NULL,
|
913
|
+
first_release_at timestamp without time zone,
|
914
|
+
sprint_id integer,
|
915
|
+
checked_out_at timestamp without time zone,
|
916
|
+
checked_out_by_id integer,
|
917
|
+
priority character varying(255) DEFAULT 'normal'::character varying NOT NULL,
|
918
|
+
reopened_at timestamp without time zone,
|
919
|
+
prerequisites integer[]
|
920
|
+
);
|
921
|
+
|
922
|
+
|
923
|
+
--
|
924
|
+
-- Name: tickets_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
925
|
+
--
|
926
|
+
|
927
|
+
CREATE SEQUENCE tickets_id_seq
|
928
|
+
START WITH 1
|
929
|
+
INCREMENT BY 1
|
930
|
+
NO MINVALUE
|
931
|
+
NO MAXVALUE
|
932
|
+
CACHE 1;
|
933
|
+
|
934
|
+
|
935
|
+
--
|
936
|
+
-- Name: tickets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
937
|
+
--
|
938
|
+
|
939
|
+
ALTER SEQUENCE tickets_id_seq OWNED BY tickets.id;
|
940
|
+
|
941
|
+
|
942
|
+
--
|
943
|
+
-- Name: user_credentials; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
944
|
+
--
|
945
|
+
|
946
|
+
CREATE TABLE user_credentials (
|
947
|
+
id integer NOT NULL,
|
948
|
+
user_id integer,
|
949
|
+
service character varying(255),
|
950
|
+
login character varying(255),
|
951
|
+
password bytea,
|
952
|
+
password_key bytea,
|
953
|
+
password_iv bytea,
|
954
|
+
created_at timestamp without time zone,
|
955
|
+
updated_at timestamp without time zone
|
956
|
+
);
|
957
|
+
|
958
|
+
|
959
|
+
--
|
960
|
+
-- Name: user_credentials_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
961
|
+
--
|
962
|
+
|
963
|
+
CREATE SEQUENCE user_credentials_id_seq
|
964
|
+
START WITH 1
|
965
|
+
INCREMENT BY 1
|
966
|
+
NO MINVALUE
|
967
|
+
NO MAXVALUE
|
968
|
+
CACHE 1;
|
969
|
+
|
970
|
+
|
971
|
+
--
|
972
|
+
-- Name: user_credentials_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
973
|
+
--
|
974
|
+
|
975
|
+
ALTER SEQUENCE user_credentials_id_seq OWNED BY user_credentials.id;
|
976
|
+
|
977
|
+
|
978
|
+
--
|
979
|
+
-- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
980
|
+
--
|
981
|
+
|
982
|
+
CREATE TABLE users (
|
983
|
+
id integer NOT NULL,
|
984
|
+
email character varying(255) DEFAULT ''::character varying NOT NULL,
|
985
|
+
encrypted_password character varying(255) DEFAULT ''::character varying,
|
986
|
+
reset_password_token character varying(255),
|
987
|
+
reset_password_sent_at timestamp without time zone,
|
988
|
+
remember_created_at timestamp without time zone,
|
989
|
+
sign_in_count integer DEFAULT 0,
|
990
|
+
current_sign_in_at timestamp without time zone,
|
991
|
+
last_sign_in_at timestamp without time zone,
|
992
|
+
current_sign_in_ip character varying(255),
|
993
|
+
last_sign_in_ip character varying(255),
|
994
|
+
created_at timestamp without time zone,
|
995
|
+
updated_at timestamp without time zone,
|
996
|
+
invitation_token character varying(60),
|
997
|
+
invitation_sent_at timestamp without time zone,
|
998
|
+
invitation_accepted_at timestamp without time zone,
|
999
|
+
invitation_limit integer,
|
1000
|
+
invited_by_id integer,
|
1001
|
+
invited_by_type character varying(255),
|
1002
|
+
role character varying(255) DEFAULT 'Guest'::character varying,
|
1003
|
+
authentication_token character varying(255),
|
1004
|
+
administrator boolean DEFAULT false,
|
1005
|
+
unfuddle_id integer,
|
1006
|
+
first_name character varying(255),
|
1007
|
+
last_name character varying(255),
|
1008
|
+
old_environments_subscribed_to character varying(255) DEFAULT ''::character varying NOT NULL,
|
1009
|
+
retired_at timestamp without time zone,
|
1010
|
+
view_options hstore DEFAULT ''::hstore NOT NULL,
|
1011
|
+
email_addresses text[],
|
1012
|
+
invitation_created_at timestamp without time zone,
|
1013
|
+
environments_subscribed_to text[] DEFAULT '{}'::text[] NOT NULL,
|
1014
|
+
current_project_id integer,
|
1015
|
+
nickname character varying(255),
|
1016
|
+
username character varying(255)
|
1017
|
+
);
|
1018
|
+
|
1019
|
+
|
1020
|
+
--
|
1021
|
+
-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1022
|
+
--
|
1023
|
+
|
1024
|
+
CREATE SEQUENCE users_id_seq
|
1025
|
+
START WITH 1
|
1026
|
+
INCREMENT BY 1
|
1027
|
+
NO MINVALUE
|
1028
|
+
NO MAXVALUE
|
1029
|
+
CACHE 1;
|
1030
|
+
|
1031
|
+
|
1032
|
+
--
|
1033
|
+
-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1034
|
+
--
|
1035
|
+
|
1036
|
+
ALTER SEQUENCE users_id_seq OWNED BY users.id;
|
1037
|
+
|
1038
|
+
|
1039
|
+
--
|
1040
|
+
-- Name: value_statements; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1041
|
+
--
|
1042
|
+
|
1043
|
+
CREATE TABLE value_statements (
|
1044
|
+
id integer NOT NULL,
|
1045
|
+
project_id integer NOT NULL,
|
1046
|
+
weight double precision NOT NULL,
|
1047
|
+
text character varying(255) NOT NULL
|
1048
|
+
);
|
1049
|
+
|
1050
|
+
|
1051
|
+
--
|
1052
|
+
-- Name: value_statements_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1053
|
+
--
|
1054
|
+
|
1055
|
+
CREATE SEQUENCE value_statements_id_seq
|
1056
|
+
START WITH 1
|
1057
|
+
INCREMENT BY 1
|
1058
|
+
NO MINVALUE
|
1059
|
+
NO MAXVALUE
|
1060
|
+
CACHE 1;
|
1061
|
+
|
1062
|
+
|
1063
|
+
--
|
1064
|
+
-- Name: value_statements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1065
|
+
--
|
1066
|
+
|
1067
|
+
ALTER SEQUENCE value_statements_id_seq OWNED BY value_statements.id;
|
1068
|
+
|
1069
|
+
|
1070
|
+
--
|
1071
|
+
-- Name: versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1072
|
+
--
|
1073
|
+
|
1074
|
+
CREATE TABLE versions (
|
1075
|
+
id integer NOT NULL,
|
1076
|
+
versioned_id integer,
|
1077
|
+
versioned_type character varying(255),
|
1078
|
+
user_id integer,
|
1079
|
+
user_type character varying(255),
|
1080
|
+
user_name character varying(255),
|
1081
|
+
modifications text,
|
1082
|
+
number integer,
|
1083
|
+
reverted_from integer,
|
1084
|
+
tag character varying(255),
|
1085
|
+
created_at timestamp without time zone,
|
1086
|
+
updated_at timestamp without time zone
|
1087
|
+
);
|
1088
|
+
|
1089
|
+
|
1090
|
+
--
|
1091
|
+
-- Name: versions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1092
|
+
--
|
1093
|
+
|
1094
|
+
CREATE SEQUENCE versions_id_seq
|
1095
|
+
START WITH 1
|
1096
|
+
INCREMENT BY 1
|
1097
|
+
NO MINVALUE
|
1098
|
+
NO MAXVALUE
|
1099
|
+
CACHE 1;
|
1100
|
+
|
1101
|
+
|
1102
|
+
--
|
1103
|
+
-- Name: versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1104
|
+
--
|
1105
|
+
|
1106
|
+
ALTER SEQUENCE versions_id_seq OWNED BY versions.id;
|
1107
|
+
|
1108
|
+
|
1109
|
+
--
|
1110
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1111
|
+
--
|
1112
|
+
|
1113
|
+
ALTER TABLE ONLY commits ALTER COLUMN id SET DEFAULT nextval('commits_id_seq'::regclass);
|
1114
|
+
|
1115
|
+
|
1116
|
+
--
|
1117
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1118
|
+
--
|
1119
|
+
|
1120
|
+
ALTER TABLE ONLY consumer_tokens ALTER COLUMN id SET DEFAULT nextval('consumer_tokens_id_seq'::regclass);
|
1121
|
+
|
1122
|
+
|
1123
|
+
--
|
1124
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1125
|
+
--
|
1126
|
+
|
1127
|
+
ALTER TABLE ONLY deploys ALTER COLUMN id SET DEFAULT nextval('deploys_id_seq'::regclass);
|
1128
|
+
|
1129
|
+
|
1130
|
+
--
|
1131
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1132
|
+
--
|
1133
|
+
|
1134
|
+
ALTER TABLE ONLY historical_heads ALTER COLUMN id SET DEFAULT nextval('historical_heads_id_seq'::regclass);
|
1135
|
+
|
1136
|
+
|
1137
|
+
--
|
1138
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1139
|
+
--
|
1140
|
+
|
1141
|
+
ALTER TABLE ONLY measurements ALTER COLUMN id SET DEFAULT nextval('measurements_id_seq'::regclass);
|
1142
|
+
|
1143
|
+
|
1144
|
+
--
|
1145
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1146
|
+
--
|
1147
|
+
|
1148
|
+
ALTER TABLE ONLY milestones ALTER COLUMN id SET DEFAULT nextval('milestones_id_seq'::regclass);
|
1149
|
+
|
1150
|
+
|
1151
|
+
--
|
1152
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1153
|
+
--
|
1154
|
+
|
1155
|
+
ALTER TABLE ONLY project_quotas ALTER COLUMN id SET DEFAULT nextval('project_quotas_id_seq'::regclass);
|
1156
|
+
|
1157
|
+
|
1158
|
+
--
|
1159
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1160
|
+
--
|
1161
|
+
|
1162
|
+
ALTER TABLE ONLY projects ALTER COLUMN id SET DEFAULT nextval('projects_id_seq'::regclass);
|
1163
|
+
|
1164
|
+
|
1165
|
+
--
|
1166
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1167
|
+
--
|
1168
|
+
|
1169
|
+
ALTER TABLE ONLY pull_requests ALTER COLUMN id SET DEFAULT nextval('pull_requests_id_seq'::regclass);
|
1170
|
+
|
1171
|
+
|
1172
|
+
--
|
1173
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1174
|
+
--
|
1175
|
+
|
1176
|
+
ALTER TABLE ONLY releases ALTER COLUMN id SET DEFAULT nextval('releases_id_seq'::regclass);
|
1177
|
+
|
1178
|
+
|
1179
|
+
--
|
1180
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1181
|
+
--
|
1182
|
+
|
1183
|
+
ALTER TABLE ONLY roles ALTER COLUMN id SET DEFAULT nextval('roles_id_seq'::regclass);
|
1184
|
+
|
1185
|
+
|
1186
|
+
--
|
1187
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1188
|
+
--
|
1189
|
+
|
1190
|
+
ALTER TABLE ONLY settings ALTER COLUMN id SET DEFAULT nextval('settings_id_seq'::regclass);
|
1191
|
+
|
1192
|
+
|
1193
|
+
--
|
1194
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1195
|
+
--
|
1196
|
+
|
1197
|
+
ALTER TABLE ONLY sprints ALTER COLUMN id SET DEFAULT nextval('sprints_id_seq'::regclass);
|
1198
|
+
|
1199
|
+
|
1200
|
+
--
|
1201
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1202
|
+
--
|
1203
|
+
|
1204
|
+
ALTER TABLE ONLY tasks ALTER COLUMN id SET DEFAULT nextval('tasks_id_seq'::regclass);
|
1205
|
+
|
1206
|
+
|
1207
|
+
--
|
1208
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1209
|
+
--
|
1210
|
+
|
1211
|
+
ALTER TABLE ONLY test_errors ALTER COLUMN id SET DEFAULT nextval('test_errors_id_seq'::regclass);
|
1212
|
+
|
1213
|
+
|
1214
|
+
--
|
1215
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1216
|
+
--
|
1217
|
+
|
1218
|
+
ALTER TABLE ONLY test_results ALTER COLUMN id SET DEFAULT nextval('test_results_id_seq'::regclass);
|
1219
|
+
|
1220
|
+
|
1221
|
+
--
|
1222
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1223
|
+
--
|
1224
|
+
|
1225
|
+
ALTER TABLE ONLY test_runs ALTER COLUMN id SET DEFAULT nextval('test_runs_id_seq'::regclass);
|
1226
|
+
|
1227
|
+
|
1228
|
+
--
|
1229
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1230
|
+
--
|
1231
|
+
|
1232
|
+
ALTER TABLE ONLY testing_notes ALTER COLUMN id SET DEFAULT nextval('testing_notes_id_seq'::regclass);
|
1233
|
+
|
1234
|
+
|
1235
|
+
--
|
1236
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1237
|
+
--
|
1238
|
+
|
1239
|
+
ALTER TABLE ONLY tests ALTER COLUMN id SET DEFAULT nextval('tests_id_seq'::regclass);
|
1240
|
+
|
1241
|
+
|
1242
|
+
--
|
1243
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1244
|
+
--
|
1245
|
+
|
1246
|
+
ALTER TABLE ONLY ticket_queues ALTER COLUMN id SET DEFAULT nextval('ticket_queues_id_seq'::regclass);
|
1247
|
+
|
1248
|
+
|
1249
|
+
--
|
1250
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1251
|
+
--
|
1252
|
+
|
1253
|
+
ALTER TABLE ONLY tickets ALTER COLUMN id SET DEFAULT nextval('tickets_id_seq'::regclass);
|
1254
|
+
|
1255
|
+
|
1256
|
+
--
|
1257
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1258
|
+
--
|
1259
|
+
|
1260
|
+
ALTER TABLE ONLY user_credentials ALTER COLUMN id SET DEFAULT nextval('user_credentials_id_seq'::regclass);
|
1261
|
+
|
1262
|
+
|
1263
|
+
--
|
1264
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1265
|
+
--
|
1266
|
+
|
1267
|
+
ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
|
1268
|
+
|
1269
|
+
|
1270
|
+
--
|
1271
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1272
|
+
--
|
1273
|
+
|
1274
|
+
ALTER TABLE ONLY value_statements ALTER COLUMN id SET DEFAULT nextval('value_statements_id_seq'::regclass);
|
1275
|
+
|
1276
|
+
|
1277
|
+
--
|
1278
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1279
|
+
--
|
1280
|
+
|
1281
|
+
ALTER TABLE ONLY versions ALTER COLUMN id SET DEFAULT nextval('versions_id_seq'::regclass);
|
1282
|
+
|
1283
|
+
|
1284
|
+
--
|
1285
|
+
-- Name: commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1286
|
+
--
|
1287
|
+
|
1288
|
+
ALTER TABLE ONLY commits
|
1289
|
+
ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
|
1290
|
+
|
1291
|
+
|
1292
|
+
--
|
1293
|
+
-- Name: consumer_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1294
|
+
--
|
1295
|
+
|
1296
|
+
ALTER TABLE ONLY consumer_tokens
|
1297
|
+
ADD CONSTRAINT consumer_tokens_pkey PRIMARY KEY (id);
|
1298
|
+
|
1299
|
+
|
1300
|
+
--
|
1301
|
+
-- Name: deploys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1302
|
+
--
|
1303
|
+
|
1304
|
+
ALTER TABLE ONLY deploys
|
1305
|
+
ADD CONSTRAINT deploys_pkey PRIMARY KEY (id);
|
1306
|
+
|
1307
|
+
|
1308
|
+
--
|
1309
|
+
-- Name: historical_heads_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1310
|
+
--
|
1311
|
+
|
1312
|
+
ALTER TABLE ONLY historical_heads
|
1313
|
+
ADD CONSTRAINT historical_heads_pkey PRIMARY KEY (id);
|
1314
|
+
|
1315
|
+
|
1316
|
+
--
|
1317
|
+
-- Name: measurements_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1318
|
+
--
|
1319
|
+
|
1320
|
+
ALTER TABLE ONLY measurements
|
1321
|
+
ADD CONSTRAINT measurements_pkey PRIMARY KEY (id);
|
1322
|
+
|
1323
|
+
|
1324
|
+
--
|
1325
|
+
-- Name: milestones_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1326
|
+
--
|
1327
|
+
|
1328
|
+
ALTER TABLE ONLY milestones
|
1329
|
+
ADD CONSTRAINT milestones_pkey PRIMARY KEY (id);
|
1330
|
+
|
1331
|
+
|
1332
|
+
--
|
1333
|
+
-- Name: project_quotas_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1334
|
+
--
|
1335
|
+
|
1336
|
+
ALTER TABLE ONLY project_quotas
|
1337
|
+
ADD CONSTRAINT project_quotas_pkey PRIMARY KEY (id);
|
1338
|
+
|
1339
|
+
|
1340
|
+
--
|
1341
|
+
-- Name: projects_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1342
|
+
--
|
1343
|
+
|
1344
|
+
ALTER TABLE ONLY projects
|
1345
|
+
ADD CONSTRAINT projects_pkey PRIMARY KEY (id);
|
1346
|
+
|
1347
|
+
|
1348
|
+
--
|
1349
|
+
-- Name: pull_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1350
|
+
--
|
1351
|
+
|
1352
|
+
ALTER TABLE ONLY pull_requests
|
1353
|
+
ADD CONSTRAINT pull_requests_pkey PRIMARY KEY (id);
|
1354
|
+
|
1355
|
+
|
1356
|
+
--
|
1357
|
+
-- Name: releases_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1358
|
+
--
|
1359
|
+
|
1360
|
+
ALTER TABLE ONLY releases
|
1361
|
+
ADD CONSTRAINT releases_pkey PRIMARY KEY (id);
|
1362
|
+
|
1363
|
+
|
1364
|
+
--
|
1365
|
+
-- Name: roles_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1366
|
+
--
|
1367
|
+
|
1368
|
+
ALTER TABLE ONLY roles
|
1369
|
+
ADD CONSTRAINT roles_pkey PRIMARY KEY (id);
|
1370
|
+
|
1371
|
+
|
1372
|
+
--
|
1373
|
+
-- Name: settings_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1374
|
+
--
|
1375
|
+
|
1376
|
+
ALTER TABLE ONLY settings
|
1377
|
+
ADD CONSTRAINT settings_pkey PRIMARY KEY (id);
|
1378
|
+
|
1379
|
+
|
1380
|
+
--
|
1381
|
+
-- Name: sprints_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1382
|
+
--
|
1383
|
+
|
1384
|
+
ALTER TABLE ONLY sprints
|
1385
|
+
ADD CONSTRAINT sprints_pkey PRIMARY KEY (id);
|
1386
|
+
|
1387
|
+
|
1388
|
+
--
|
1389
|
+
-- Name: tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1390
|
+
--
|
1391
|
+
|
1392
|
+
ALTER TABLE ONLY tasks
|
1393
|
+
ADD CONSTRAINT tasks_pkey PRIMARY KEY (id);
|
1394
|
+
|
1395
|
+
|
1396
|
+
--
|
1397
|
+
-- Name: test_errors_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1398
|
+
--
|
1399
|
+
|
1400
|
+
ALTER TABLE ONLY test_errors
|
1401
|
+
ADD CONSTRAINT test_errors_pkey PRIMARY KEY (id);
|
1402
|
+
|
1403
|
+
|
1404
|
+
--
|
1405
|
+
-- Name: test_results_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1406
|
+
--
|
1407
|
+
|
1408
|
+
ALTER TABLE ONLY test_results
|
1409
|
+
ADD CONSTRAINT test_results_pkey PRIMARY KEY (id);
|
1410
|
+
|
1411
|
+
|
1412
|
+
--
|
1413
|
+
-- Name: test_results_unique_constraint; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1414
|
+
--
|
1415
|
+
|
1416
|
+
ALTER TABLE ONLY test_results
|
1417
|
+
ADD CONSTRAINT test_results_unique_constraint UNIQUE (test_run_id, test_id);
|
1418
|
+
|
1419
|
+
|
1420
|
+
--
|
1421
|
+
-- Name: test_runs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1422
|
+
--
|
1423
|
+
|
1424
|
+
ALTER TABLE ONLY test_runs
|
1425
|
+
ADD CONSTRAINT test_runs_pkey PRIMARY KEY (id);
|
1426
|
+
|
1427
|
+
|
1428
|
+
--
|
1429
|
+
-- Name: testing_notes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1430
|
+
--
|
1431
|
+
|
1432
|
+
ALTER TABLE ONLY testing_notes
|
1433
|
+
ADD CONSTRAINT testing_notes_pkey PRIMARY KEY (id);
|
1434
|
+
|
1435
|
+
|
1436
|
+
--
|
1437
|
+
-- Name: tests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1438
|
+
--
|
1439
|
+
|
1440
|
+
ALTER TABLE ONLY tests
|
1441
|
+
ADD CONSTRAINT tests_pkey PRIMARY KEY (id);
|
1442
|
+
|
1443
|
+
|
1444
|
+
--
|
1445
|
+
-- Name: tests_unique_constraint; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1446
|
+
--
|
1447
|
+
|
1448
|
+
ALTER TABLE ONLY tests
|
1449
|
+
ADD CONSTRAINT tests_unique_constraint UNIQUE (project_id, suite, name);
|
1450
|
+
|
1451
|
+
|
1452
|
+
--
|
1453
|
+
-- Name: ticket_queues_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1454
|
+
--
|
1455
|
+
|
1456
|
+
ALTER TABLE ONLY ticket_queues
|
1457
|
+
ADD CONSTRAINT ticket_queues_pkey PRIMARY KEY (id);
|
1458
|
+
|
1459
|
+
|
1460
|
+
--
|
1461
|
+
-- Name: tickets_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1462
|
+
--
|
1463
|
+
|
1464
|
+
ALTER TABLE ONLY tickets
|
1465
|
+
ADD CONSTRAINT tickets_pkey PRIMARY KEY (id);
|
1466
|
+
|
1467
|
+
|
1468
|
+
--
|
1469
|
+
-- Name: user_credentials_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1470
|
+
--
|
1471
|
+
|
1472
|
+
ALTER TABLE ONLY user_credentials
|
1473
|
+
ADD CONSTRAINT user_credentials_pkey PRIMARY KEY (id);
|
1474
|
+
|
1475
|
+
|
1476
|
+
--
|
1477
|
+
-- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1478
|
+
--
|
1479
|
+
|
1480
|
+
ALTER TABLE ONLY users
|
1481
|
+
ADD CONSTRAINT users_pkey PRIMARY KEY (id);
|
1482
|
+
|
1483
|
+
|
1484
|
+
--
|
1485
|
+
-- Name: value_statements_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1486
|
+
--
|
1487
|
+
|
1488
|
+
ALTER TABLE ONLY value_statements
|
1489
|
+
ADD CONSTRAINT value_statements_pkey PRIMARY KEY (id);
|
1490
|
+
|
1491
|
+
|
1492
|
+
--
|
1493
|
+
-- Name: versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1494
|
+
--
|
1495
|
+
|
1496
|
+
ALTER TABLE ONLY versions
|
1497
|
+
ADD CONSTRAINT versions_pkey PRIMARY KEY (id);
|
1498
|
+
|
1499
|
+
|
1500
|
+
--
|
1501
|
+
-- Name: index_commits_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1502
|
+
--
|
1503
|
+
|
1504
|
+
CREATE INDEX index_commits_on_project_id ON commits USING btree (project_id);
|
1505
|
+
|
1506
|
+
|
1507
|
+
--
|
1508
|
+
-- Name: index_commits_on_sha; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1509
|
+
--
|
1510
|
+
|
1511
|
+
CREATE UNIQUE INDEX index_commits_on_sha ON commits USING btree (sha);
|
1512
|
+
|
1513
|
+
|
1514
|
+
--
|
1515
|
+
-- Name: index_commits_on_unreachable; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1516
|
+
--
|
1517
|
+
|
1518
|
+
CREATE INDEX index_commits_on_unreachable ON commits USING btree (unreachable);
|
1519
|
+
|
1520
|
+
|
1521
|
+
--
|
1522
|
+
-- Name: index_commits_pull_requests_on_commit_id_and_pull_request_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1523
|
+
--
|
1524
|
+
|
1525
|
+
CREATE UNIQUE INDEX index_commits_pull_requests_on_commit_id_and_pull_request_id ON commits_pull_requests USING btree (commit_id, pull_request_id);
|
1526
|
+
|
1527
|
+
|
1528
|
+
--
|
1529
|
+
-- Name: index_commits_releases_on_commit_id_and_release_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1530
|
+
--
|
1531
|
+
|
1532
|
+
CREATE UNIQUE INDEX index_commits_releases_on_commit_id_and_release_id ON commits_releases USING btree (commit_id, release_id);
|
1533
|
+
|
1534
|
+
|
1535
|
+
--
|
1536
|
+
-- Name: index_commits_tasks_on_commit_id_and_task_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1537
|
+
--
|
1538
|
+
|
1539
|
+
CREATE UNIQUE INDEX index_commits_tasks_on_commit_id_and_task_id ON commits_tasks USING btree (commit_id, task_id);
|
1540
|
+
|
1541
|
+
|
1542
|
+
--
|
1543
|
+
-- Name: index_commits_tickets_on_commit_id_and_ticket_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1544
|
+
--
|
1545
|
+
|
1546
|
+
CREATE UNIQUE INDEX index_commits_tickets_on_commit_id_and_ticket_id ON commits_tickets USING btree (commit_id, ticket_id);
|
1547
|
+
|
1548
|
+
|
1549
|
+
--
|
1550
|
+
-- Name: index_commits_users_on_commit_id_and_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1551
|
+
--
|
1552
|
+
|
1553
|
+
CREATE UNIQUE INDEX index_commits_users_on_commit_id_and_user_id ON commits_users USING btree (commit_id, user_id);
|
1554
|
+
|
1555
|
+
|
1556
|
+
--
|
1557
|
+
-- Name: index_consumer_tokens_on_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1558
|
+
--
|
1559
|
+
|
1560
|
+
CREATE UNIQUE INDEX index_consumer_tokens_on_token ON consumer_tokens USING btree (token);
|
1561
|
+
|
1562
|
+
|
1563
|
+
--
|
1564
|
+
-- Name: index_deploys_on_environment_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1565
|
+
--
|
1566
|
+
|
1567
|
+
CREATE INDEX index_deploys_on_environment_name ON deploys USING btree (environment_name);
|
1568
|
+
|
1569
|
+
|
1570
|
+
--
|
1571
|
+
-- Name: index_deploys_on_project_id_and_environment_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1572
|
+
--
|
1573
|
+
|
1574
|
+
CREATE INDEX index_deploys_on_project_id_and_environment_name ON deploys USING btree (project_id, environment_name);
|
1575
|
+
|
1576
|
+
|
1577
|
+
--
|
1578
|
+
-- Name: index_measurements_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1579
|
+
--
|
1580
|
+
|
1581
|
+
CREATE INDEX index_measurements_on_name ON measurements USING btree (name);
|
1582
|
+
|
1583
|
+
|
1584
|
+
--
|
1585
|
+
-- Name: index_measurements_on_subject_type_and_subject_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1586
|
+
--
|
1587
|
+
|
1588
|
+
CREATE INDEX index_measurements_on_subject_type_and_subject_id ON measurements USING btree (subject_type, subject_id);
|
1589
|
+
|
1590
|
+
|
1591
|
+
--
|
1592
|
+
-- Name: index_measurements_on_taken_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1593
|
+
--
|
1594
|
+
|
1595
|
+
CREATE INDEX index_measurements_on_taken_at ON measurements USING btree (taken_at);
|
1596
|
+
|
1597
|
+
|
1598
|
+
--
|
1599
|
+
-- Name: index_measurements_on_taken_on; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1600
|
+
--
|
1601
|
+
|
1602
|
+
CREATE INDEX index_measurements_on_taken_on ON measurements USING btree (taken_on);
|
1603
|
+
|
1604
|
+
|
1605
|
+
--
|
1606
|
+
-- Name: index_milestones_on_destroyed_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1607
|
+
--
|
1608
|
+
|
1609
|
+
CREATE INDEX index_milestones_on_destroyed_at ON milestones USING btree (destroyed_at);
|
1610
|
+
|
1611
|
+
|
1612
|
+
--
|
1613
|
+
-- Name: index_milestones_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1614
|
+
--
|
1615
|
+
|
1616
|
+
CREATE INDEX index_milestones_on_project_id ON milestones USING btree (project_id);
|
1617
|
+
|
1618
|
+
|
1619
|
+
--
|
1620
|
+
-- Name: index_project_quotas_on_project_id_and_week; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1621
|
+
--
|
1622
|
+
|
1623
|
+
CREATE UNIQUE INDEX index_project_quotas_on_project_id_and_week ON project_quotas USING btree (project_id, week);
|
1624
|
+
|
1625
|
+
|
1626
|
+
--
|
1627
|
+
-- Name: index_project_quotas_on_week; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1628
|
+
--
|
1629
|
+
|
1630
|
+
CREATE INDEX index_project_quotas_on_week ON project_quotas USING btree (week);
|
1631
|
+
|
1632
|
+
|
1633
|
+
--
|
1634
|
+
-- Name: index_pull_requests_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1635
|
+
--
|
1636
|
+
|
1637
|
+
CREATE INDEX index_pull_requests_on_project_id ON pull_requests USING btree (project_id);
|
1638
|
+
|
1639
|
+
|
1640
|
+
--
|
1641
|
+
-- Name: index_releases_on_deploy_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1642
|
+
--
|
1643
|
+
|
1644
|
+
CREATE INDEX index_releases_on_deploy_id ON releases USING btree (deploy_id);
|
1645
|
+
|
1646
|
+
|
1647
|
+
--
|
1648
|
+
-- Name: index_releases_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1649
|
+
--
|
1650
|
+
|
1651
|
+
CREATE INDEX index_releases_on_project_id ON releases USING btree (project_id);
|
1652
|
+
|
1653
|
+
|
1654
|
+
--
|
1655
|
+
-- Name: index_releases_on_project_id_and_environment_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1656
|
+
--
|
1657
|
+
|
1658
|
+
CREATE INDEX index_releases_on_project_id_and_environment_name ON releases USING btree (project_id, environment_name);
|
1659
|
+
|
1660
|
+
|
1661
|
+
--
|
1662
|
+
-- Name: index_releases_tasks_on_release_id_and_task_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1663
|
+
--
|
1664
|
+
|
1665
|
+
CREATE UNIQUE INDEX index_releases_tasks_on_release_id_and_task_id ON releases_tasks USING btree (release_id, task_id);
|
1666
|
+
|
1667
|
+
|
1668
|
+
--
|
1669
|
+
-- Name: index_releases_tickets_on_release_id_and_ticket_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1670
|
+
--
|
1671
|
+
|
1672
|
+
CREATE UNIQUE INDEX index_releases_tickets_on_release_id_and_ticket_id ON releases_tickets USING btree (release_id, ticket_id);
|
1673
|
+
|
1674
|
+
|
1675
|
+
--
|
1676
|
+
-- Name: index_roles_on_user_id_and_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1677
|
+
--
|
1678
|
+
|
1679
|
+
CREATE INDEX index_roles_on_user_id_and_project_id ON roles USING btree (user_id, project_id);
|
1680
|
+
|
1681
|
+
|
1682
|
+
--
|
1683
|
+
-- Name: index_roles_on_user_id_and_project_id_and_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1684
|
+
--
|
1685
|
+
|
1686
|
+
CREATE INDEX index_roles_on_user_id_and_project_id_and_name ON roles USING btree (user_id, project_id, name);
|
1687
|
+
|
1688
|
+
|
1689
|
+
--
|
1690
|
+
-- Name: index_sprints_on_end_date; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1691
|
+
--
|
1692
|
+
|
1693
|
+
CREATE UNIQUE INDEX index_sprints_on_end_date ON sprints USING btree (end_date);
|
1694
|
+
|
1695
|
+
|
1696
|
+
--
|
1697
|
+
-- Name: index_sprints_tasks_on_sprint_id_and_task_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1698
|
+
--
|
1699
|
+
|
1700
|
+
CREATE UNIQUE INDEX index_sprints_tasks_on_sprint_id_and_task_id ON sprints_tasks USING btree (sprint_id, task_id);
|
1701
|
+
|
1702
|
+
|
1703
|
+
--
|
1704
|
+
-- Name: index_tasks_on_ticket_id_and_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1705
|
+
--
|
1706
|
+
|
1707
|
+
CREATE UNIQUE INDEX index_tasks_on_ticket_id_and_number ON tasks USING btree (ticket_id, number);
|
1708
|
+
|
1709
|
+
|
1710
|
+
--
|
1711
|
+
-- Name: index_test_errors_on_sha; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1712
|
+
--
|
1713
|
+
|
1714
|
+
CREATE UNIQUE INDEX index_test_errors_on_sha ON test_errors USING btree (sha);
|
1715
|
+
|
1716
|
+
|
1717
|
+
--
|
1718
|
+
-- Name: index_test_results_on_test_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1719
|
+
--
|
1720
|
+
|
1721
|
+
CREATE INDEX index_test_results_on_test_id ON test_results USING btree (test_id);
|
1722
|
+
|
1723
|
+
|
1724
|
+
--
|
1725
|
+
-- Name: index_test_results_on_test_run_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1726
|
+
--
|
1727
|
+
|
1728
|
+
CREATE INDEX index_test_results_on_test_run_id ON test_results USING btree (test_run_id);
|
1729
|
+
|
1730
|
+
|
1731
|
+
--
|
1732
|
+
-- Name: index_test_runs_on_commit_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1733
|
+
--
|
1734
|
+
|
1735
|
+
CREATE UNIQUE INDEX index_test_runs_on_commit_id ON test_runs USING btree (commit_id);
|
1736
|
+
|
1737
|
+
|
1738
|
+
--
|
1739
|
+
-- Name: index_test_runs_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1740
|
+
--
|
1741
|
+
|
1742
|
+
CREATE INDEX index_test_runs_on_project_id ON test_runs USING btree (project_id);
|
1743
|
+
|
1744
|
+
|
1745
|
+
--
|
1746
|
+
-- Name: index_test_runs_on_sha; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1747
|
+
--
|
1748
|
+
|
1749
|
+
CREATE UNIQUE INDEX index_test_runs_on_sha ON test_runs USING btree (sha);
|
1750
|
+
|
1751
|
+
|
1752
|
+
--
|
1753
|
+
-- Name: index_testing_notes_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1754
|
+
--
|
1755
|
+
|
1756
|
+
CREATE INDEX index_testing_notes_on_project_id ON testing_notes USING btree (project_id);
|
1757
|
+
|
1758
|
+
|
1759
|
+
--
|
1760
|
+
-- Name: index_testing_notes_on_ticket_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1761
|
+
--
|
1762
|
+
|
1763
|
+
CREATE INDEX index_testing_notes_on_ticket_id ON testing_notes USING btree (ticket_id);
|
1764
|
+
|
1765
|
+
|
1766
|
+
--
|
1767
|
+
-- Name: index_testing_notes_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1768
|
+
--
|
1769
|
+
|
1770
|
+
CREATE INDEX index_testing_notes_on_user_id ON testing_notes USING btree (user_id);
|
1771
|
+
|
1772
|
+
|
1773
|
+
--
|
1774
|
+
-- Name: index_tests_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1775
|
+
--
|
1776
|
+
|
1777
|
+
CREATE INDEX index_tests_on_project_id ON tests USING btree (project_id);
|
1778
|
+
|
1779
|
+
|
1780
|
+
--
|
1781
|
+
-- Name: index_ticket_queues_on_queue; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1782
|
+
--
|
1783
|
+
|
1784
|
+
CREATE INDEX index_ticket_queues_on_queue ON ticket_queues USING btree (queue);
|
1785
|
+
|
1786
|
+
|
1787
|
+
--
|
1788
|
+
-- Name: index_ticket_queues_on_ticket_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1789
|
+
--
|
1790
|
+
|
1791
|
+
CREATE INDEX index_ticket_queues_on_ticket_id ON ticket_queues USING btree (ticket_id);
|
1792
|
+
|
1793
|
+
|
1794
|
+
--
|
1795
|
+
-- Name: index_tickets_on_destroyed_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1796
|
+
--
|
1797
|
+
|
1798
|
+
CREATE INDEX index_tickets_on_destroyed_at ON tickets USING btree (destroyed_at);
|
1799
|
+
|
1800
|
+
|
1801
|
+
--
|
1802
|
+
-- Name: index_tickets_on_milestone_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1803
|
+
--
|
1804
|
+
|
1805
|
+
CREATE INDEX index_tickets_on_milestone_id ON tickets USING btree (milestone_id);
|
1806
|
+
|
1807
|
+
|
1808
|
+
--
|
1809
|
+
-- Name: index_tickets_on_resolution; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1810
|
+
--
|
1811
|
+
|
1812
|
+
CREATE INDEX index_tickets_on_resolution ON tickets USING btree (resolution);
|
1813
|
+
|
1814
|
+
|
1815
|
+
--
|
1816
|
+
-- Name: index_tickets_on_sprint_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1817
|
+
--
|
1818
|
+
|
1819
|
+
CREATE INDEX index_tickets_on_sprint_id ON tickets USING btree (sprint_id);
|
1820
|
+
|
1821
|
+
|
1822
|
+
--
|
1823
|
+
-- Name: index_users_on_authentication_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1824
|
+
--
|
1825
|
+
|
1826
|
+
CREATE INDEX index_users_on_authentication_token ON users USING btree (authentication_token);
|
1827
|
+
|
1828
|
+
|
1829
|
+
--
|
1830
|
+
-- Name: index_users_on_email; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1831
|
+
--
|
1832
|
+
|
1833
|
+
CREATE UNIQUE INDEX index_users_on_email ON users USING btree (email);
|
1834
|
+
|
1835
|
+
|
1836
|
+
--
|
1837
|
+
-- Name: index_users_on_email_addresses; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1838
|
+
--
|
1839
|
+
|
1840
|
+
CREATE INDEX index_users_on_email_addresses ON users USING btree (email_addresses);
|
1841
|
+
|
1842
|
+
|
1843
|
+
--
|
1844
|
+
-- Name: index_users_on_invitation_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1845
|
+
--
|
1846
|
+
|
1847
|
+
CREATE INDEX index_users_on_invitation_token ON users USING btree (invitation_token);
|
1848
|
+
|
1849
|
+
|
1850
|
+
--
|
1851
|
+
-- Name: index_users_on_invited_by_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1852
|
+
--
|
1853
|
+
|
1854
|
+
CREATE INDEX index_users_on_invited_by_id ON users USING btree (invited_by_id);
|
1855
|
+
|
1856
|
+
|
1857
|
+
--
|
1858
|
+
-- Name: index_users_on_reset_password_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1859
|
+
--
|
1860
|
+
|
1861
|
+
CREATE UNIQUE INDEX index_users_on_reset_password_token ON users USING btree (reset_password_token);
|
1862
|
+
|
1863
|
+
|
1864
|
+
--
|
1865
|
+
-- Name: index_versions_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1866
|
+
--
|
1867
|
+
|
1868
|
+
CREATE INDEX index_versions_on_created_at ON versions USING btree (created_at);
|
1869
|
+
|
1870
|
+
|
1871
|
+
--
|
1872
|
+
-- Name: index_versions_on_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1873
|
+
--
|
1874
|
+
|
1875
|
+
CREATE INDEX index_versions_on_number ON versions USING btree (number);
|
1876
|
+
|
1877
|
+
|
1878
|
+
--
|
1879
|
+
-- Name: index_versions_on_tag; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1880
|
+
--
|
1881
|
+
|
1882
|
+
CREATE INDEX index_versions_on_tag ON versions USING btree (tag);
|
1883
|
+
|
1884
|
+
|
1885
|
+
--
|
1886
|
+
-- Name: index_versions_on_user_id_and_user_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1887
|
+
--
|
1888
|
+
|
1889
|
+
CREATE INDEX index_versions_on_user_id_and_user_type ON versions USING btree (user_id, user_type);
|
1890
|
+
|
1891
|
+
|
1892
|
+
--
|
1893
|
+
-- Name: index_versions_on_user_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1894
|
+
--
|
1895
|
+
|
1896
|
+
CREATE INDEX index_versions_on_user_name ON versions USING btree (user_name);
|
1897
|
+
|
1898
|
+
|
1899
|
+
--
|
1900
|
+
-- Name: index_versions_on_versioned_id_and_versioned_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1901
|
+
--
|
1902
|
+
|
1903
|
+
CREATE INDEX index_versions_on_versioned_id_and_versioned_type ON versions USING btree (versioned_id, versioned_type);
|
1904
|
+
|
1905
|
+
|
1906
|
+
--
|
1907
|
+
-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1908
|
+
--
|
1909
|
+
|
1910
|
+
CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
|
1911
|
+
|
1912
|
+
|
1913
|
+
--
|
1914
|
+
-- PostgreSQL database dump complete
|
1915
|
+
--
|
1916
|
+
|
1917
|
+
SET search_path TO "$user",public;
|
1918
|
+
|
1919
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324185914');
|
1920
|
+
|
1921
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324202224');
|
1922
|
+
|
1923
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324212848');
|
1924
|
+
|
1925
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324212946');
|
1926
|
+
|
1927
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324230038');
|
1928
|
+
|
1929
|
+
INSERT INTO schema_migrations (version) VALUES ('20120406185643');
|
1930
|
+
|
1931
|
+
INSERT INTO schema_migrations (version) VALUES ('20120408155047');
|
1932
|
+
|
1933
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417175450');
|
1934
|
+
|
1935
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417175841');
|
1936
|
+
|
1937
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417190504');
|
1938
|
+
|
1939
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417195313');
|
1940
|
+
|
1941
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417195433');
|
1942
|
+
|
1943
|
+
INSERT INTO schema_migrations (version) VALUES ('20120424212706');
|
1944
|
+
|
1945
|
+
INSERT INTO schema_migrations (version) VALUES ('20120501230243');
|
1946
|
+
|
1947
|
+
INSERT INTO schema_migrations (version) VALUES ('20120501231817');
|
1948
|
+
|
1949
|
+
INSERT INTO schema_migrations (version) VALUES ('20120501231948');
|
1950
|
+
|
1951
|
+
INSERT INTO schema_migrations (version) VALUES ('20120504143615');
|
1952
|
+
|
1953
|
+
INSERT INTO schema_migrations (version) VALUES ('20120525013703');
|
1954
|
+
|
1955
|
+
INSERT INTO schema_migrations (version) VALUES ('20120607124115');
|
1956
|
+
|
1957
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626140242');
|
1958
|
+
|
1959
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626150333');
|
1960
|
+
|
1961
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626151320');
|
1962
|
+
|
1963
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626152020');
|
1964
|
+
|
1965
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626152949');
|
1966
|
+
|
1967
|
+
INSERT INTO schema_migrations (version) VALUES ('20120715230526');
|
1968
|
+
|
1969
|
+
INSERT INTO schema_migrations (version) VALUES ('20120715230922');
|
1970
|
+
|
1971
|
+
INSERT INTO schema_migrations (version) VALUES ('20120716010743');
|
1972
|
+
|
1973
|
+
INSERT INTO schema_migrations (version) VALUES ('20120726212620');
|
1974
|
+
|
1975
|
+
INSERT INTO schema_migrations (version) VALUES ('20120726231754');
|
1976
|
+
|
1977
|
+
INSERT INTO schema_migrations (version) VALUES ('20120804003344');
|
1978
|
+
|
1979
|
+
INSERT INTO schema_migrations (version) VALUES ('20120823025935');
|
1980
|
+
|
1981
|
+
INSERT INTO schema_migrations (version) VALUES ('20120826022643');
|
1982
|
+
|
1983
|
+
INSERT INTO schema_migrations (version) VALUES ('20120827190634');
|
1984
|
+
|
1985
|
+
INSERT INTO schema_migrations (version) VALUES ('20120913020218');
|
1986
|
+
|
1987
|
+
INSERT INTO schema_migrations (version) VALUES ('20120920023251');
|
1988
|
+
|
1989
|
+
INSERT INTO schema_migrations (version) VALUES ('20120922010212');
|
1990
|
+
|
1991
|
+
INSERT INTO schema_migrations (version) VALUES ('20121026014457');
|
1992
|
+
|
1993
|
+
INSERT INTO schema_migrations (version) VALUES ('20121027160548');
|
1994
|
+
|
1995
|
+
INSERT INTO schema_migrations (version) VALUES ('20121027171215');
|
1996
|
+
|
1997
|
+
INSERT INTO schema_migrations (version) VALUES ('20121104233305');
|
1998
|
+
|
1999
|
+
INSERT INTO schema_migrations (version) VALUES ('20121126005019');
|
2000
|
+
|
2001
|
+
INSERT INTO schema_migrations (version) VALUES ('20121214025558');
|
2002
|
+
|
2003
|
+
INSERT INTO schema_migrations (version) VALUES ('20121219202734');
|
2004
|
+
|
2005
|
+
INSERT INTO schema_migrations (version) VALUES ('20121220031008');
|
2006
|
+
|
2007
|
+
INSERT INTO schema_migrations (version) VALUES ('20121222170917');
|
2008
|
+
|
2009
|
+
INSERT INTO schema_migrations (version) VALUES ('20121222223325');
|
2010
|
+
|
2011
|
+
INSERT INTO schema_migrations (version) VALUES ('20121222223635');
|
2012
|
+
|
2013
|
+
INSERT INTO schema_migrations (version) VALUES ('20121224212623');
|
2014
|
+
|
2015
|
+
INSERT INTO schema_migrations (version) VALUES ('20121225175106');
|
2016
|
+
|
2017
|
+
INSERT INTO schema_migrations (version) VALUES ('20121230173644');
|
2018
|
+
|
2019
|
+
INSERT INTO schema_migrations (version) VALUES ('20121230174234');
|
2020
|
+
|
2021
|
+
INSERT INTO schema_migrations (version) VALUES ('20130105200429');
|
2022
|
+
|
2023
|
+
INSERT INTO schema_migrations (version) VALUES ('20130106184327');
|
2024
|
+
|
2025
|
+
INSERT INTO schema_migrations (version) VALUES ('20130106185425');
|
2026
|
+
|
2027
|
+
INSERT INTO schema_migrations (version) VALUES ('20130119203853');
|
2028
|
+
|
2029
|
+
INSERT INTO schema_migrations (version) VALUES ('20130119204608');
|
2030
|
+
|
2031
|
+
INSERT INTO schema_migrations (version) VALUES ('20130119211540');
|
2032
|
+
|
2033
|
+
INSERT INTO schema_migrations (version) VALUES ('20130119212008');
|
2034
|
+
|
2035
|
+
INSERT INTO schema_migrations (version) VALUES ('20130120182026');
|
2036
|
+
|
2037
|
+
INSERT INTO schema_migrations (version) VALUES ('20130211015046');
|
2038
|
+
|
2039
|
+
INSERT INTO schema_migrations (version) VALUES ('20130302205014');
|
2040
|
+
|
2041
|
+
INSERT INTO schema_migrations (version) VALUES ('20130306023456');
|
2042
|
+
|
2043
|
+
INSERT INTO schema_migrations (version) VALUES ('20130306023613');
|
2044
|
+
|
2045
|
+
INSERT INTO schema_migrations (version) VALUES ('20130312224911');
|
2046
|
+
|
2047
|
+
INSERT INTO schema_migrations (version) VALUES ('20130319003918');
|
2048
|
+
|
2049
|
+
INSERT INTO schema_migrations (version) VALUES ('20130407195450');
|
2050
|
+
|
2051
|
+
INSERT INTO schema_migrations (version) VALUES ('20130407200624');
|
2052
|
+
|
2053
|
+
INSERT INTO schema_migrations (version) VALUES ('20130407220039');
|
2054
|
+
|
2055
|
+
INSERT INTO schema_migrations (version) VALUES ('20130407220937');
|
2056
|
+
|
2057
|
+
INSERT INTO schema_migrations (version) VALUES ('20130416020627');
|
2058
|
+
|
2059
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420151334');
|
2060
|
+
|
2061
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420155332');
|
2062
|
+
|
2063
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420172322');
|
2064
|
+
|
2065
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420174002');
|
2066
|
+
|
2067
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420174126');
|
2068
|
+
|
2069
|
+
INSERT INTO schema_migrations (version) VALUES ('20130427223925');
|
2070
|
+
|
2071
|
+
INSERT INTO schema_migrations (version) VALUES ('20130428005808');
|
2072
|
+
|
2073
|
+
INSERT INTO schema_migrations (version) VALUES ('20130504014802');
|
2074
|
+
|
2075
|
+
INSERT INTO schema_migrations (version) VALUES ('20130504135741');
|
2076
|
+
|
2077
|
+
INSERT INTO schema_migrations (version) VALUES ('20130505144446');
|
2078
|
+
|
2079
|
+
INSERT INTO schema_migrations (version) VALUES ('20130505162039');
|
2080
|
+
|
2081
|
+
INSERT INTO schema_migrations (version) VALUES ('20130505212838');
|
2082
|
+
|
2083
|
+
INSERT INTO schema_migrations (version) VALUES ('20130518224352');
|
2084
|
+
|
2085
|
+
INSERT INTO schema_migrations (version) VALUES ('20130518224406');
|
2086
|
+
|
2087
|
+
INSERT INTO schema_migrations (version) VALUES ('20130518224655');
|
2088
|
+
|
2089
|
+
INSERT INTO schema_migrations (version) VALUES ('20130518224722');
|
2090
|
+
|
2091
|
+
INSERT INTO schema_migrations (version) VALUES ('20130519163615');
|
2092
|
+
|
2093
|
+
INSERT INTO schema_migrations (version) VALUES ('20130525192607');
|
2094
|
+
|
2095
|
+
INSERT INTO schema_migrations (version) VALUES ('20130525222131');
|
2096
|
+
|
2097
|
+
INSERT INTO schema_migrations (version) VALUES ('20130526024851');
|
2098
|
+
|
2099
|
+
INSERT INTO schema_migrations (version) VALUES ('20130706141443');
|
2100
|
+
|
2101
|
+
INSERT INTO schema_migrations (version) VALUES ('20130710233849');
|
2102
|
+
|
2103
|
+
INSERT INTO schema_migrations (version) VALUES ('20130711004558');
|
2104
|
+
|
2105
|
+
INSERT INTO schema_migrations (version) VALUES ('20130711013156');
|
2106
|
+
|
2107
|
+
INSERT INTO schema_migrations (version) VALUES ('20130728191005');
|
2108
|
+
|
2109
|
+
INSERT INTO schema_migrations (version) VALUES ('20130806143651');
|
2110
|
+
|
2111
|
+
INSERT INTO schema_migrations (version) VALUES ('20130815232527');
|
2112
|
+
|
2113
|
+
INSERT INTO schema_migrations (version) VALUES ('20130914152419');
|
2114
|
+
|
2115
|
+
INSERT INTO schema_migrations (version) VALUES ('20130914155044');
|
2116
|
+
|
2117
|
+
INSERT INTO schema_migrations (version) VALUES ('20130921141449');
|
2118
|
+
|
2119
|
+
INSERT INTO schema_migrations (version) VALUES ('20131002005512');
|
2120
|
+
|
2121
|
+
INSERT INTO schema_migrations (version) VALUES ('20131002015547');
|
2122
|
+
|
2123
|
+
INSERT INTO schema_migrations (version) VALUES ('20131002145620');
|
2124
|
+
|
2125
|
+
INSERT INTO schema_migrations (version) VALUES ('20131003014023');
|
2126
|
+
|
2127
|
+
INSERT INTO schema_migrations (version) VALUES ('20131004015452');
|
2128
|
+
|
2129
|
+
INSERT INTO schema_migrations (version) VALUES ('20131004185618');
|
2130
|
+
|
2131
|
+
INSERT INTO schema_migrations (version) VALUES ('20131012152403');
|
2132
|
+
|
2133
|
+
INSERT INTO schema_migrations (version) VALUES ('20131013185636');
|
2134
|
+
|
2135
|
+
INSERT INTO schema_migrations (version) VALUES ('20131027214942');
|
2136
|
+
|
2137
|
+
INSERT INTO schema_migrations (version) VALUES ('20131112010815');
|
2138
|
+
|
2139
|
+
INSERT INTO schema_migrations (version) VALUES ('20131216014505');
|
2140
|
+
|
2141
|
+
INSERT INTO schema_migrations (version) VALUES ('20131223194246');
|
2142
|
+
|
2143
|
+
INSERT INTO schema_migrations (version) VALUES ('20140106212047');
|
2144
|
+
|
2145
|
+
INSERT INTO schema_migrations (version) VALUES ('20140106212305');
|
2146
|
+
|
2147
|
+
INSERT INTO schema_migrations (version) VALUES ('20140114014144');
|
2148
|
+
|
2149
|
+
INSERT INTO schema_migrations (version) VALUES ('20140217150735');
|
2150
|
+
|
2151
|
+
INSERT INTO schema_migrations (version) VALUES ('20140217160450');
|
2152
|
+
|
2153
|
+
INSERT INTO schema_migrations (version) VALUES ('20140217195942');
|
2154
|
+
|
2155
|
+
INSERT INTO schema_migrations (version) VALUES ('20140327020121');
|
2156
|
+
|
2157
|
+
INSERT INTO schema_migrations (version) VALUES ('20140401234330');
|
2158
|
+
|
2159
|
+
INSERT INTO schema_migrations (version) VALUES ('20140406183224');
|
2160
|
+
|
2161
|
+
INSERT INTO schema_migrations (version) VALUES ('20140406230121');
|
2162
|
+
|
2163
|
+
INSERT INTO schema_migrations (version) VALUES ('20140407010111');
|
2164
|
+
|
2165
|
+
INSERT INTO schema_migrations (version) VALUES ('20140411214022');
|
2166
|
+
|
2167
|
+
INSERT INTO schema_migrations (version) VALUES ('20140418133005');
|
2168
|
+
|
2169
|
+
INSERT INTO schema_migrations (version) VALUES ('20140419152214');
|
2170
|
+
|
2171
|
+
INSERT INTO schema_migrations (version) VALUES ('20140425141946');
|
2172
|
+
|
2173
|
+
INSERT INTO schema_migrations (version) VALUES ('20140427235508');
|
2174
|
+
|
2175
|
+
INSERT INTO schema_migrations (version) VALUES ('20140428023146');
|
2176
|
+
|
2177
|
+
INSERT INTO schema_migrations (version) VALUES ('20140429000919');
|
2178
|
+
|
2179
|
+
INSERT INTO schema_migrations (version) VALUES ('20140506032958');
|
2180
|
+
|
2181
|
+
INSERT INTO schema_migrations (version) VALUES ('20140506035755');
|
2182
|
+
|
2183
|
+
INSERT INTO schema_migrations (version) VALUES ('20140511024021');
|
2184
|
+
|
2185
|
+
INSERT INTO schema_migrations (version) VALUES ('20140515174322');
|
2186
|
+
|
2187
|
+
INSERT INTO schema_migrations (version) VALUES ('20140515200824');
|
2188
|
+
|
2189
|
+
INSERT INTO schema_migrations (version) VALUES ('20140516005310');
|
2190
|
+
|
2191
|
+
INSERT INTO schema_migrations (version) VALUES ('20140516012049');
|
2192
|
+
|
2193
|
+
INSERT INTO schema_migrations (version) VALUES ('20140517012626');
|
2194
|
+
|
2195
|
+
INSERT INTO schema_migrations (version) VALUES ('20140521014652');
|
2196
|
+
|
2197
|
+
INSERT INTO schema_migrations (version) VALUES ('20140526155845');
|
2198
|
+
|
2199
|
+
INSERT INTO schema_migrations (version) VALUES ('20140526162645');
|
2200
|
+
|
2201
|
+
INSERT INTO schema_migrations (version) VALUES ('20140526180608');
|
2202
|
+
|
2203
|
+
INSERT INTO schema_migrations (version) VALUES ('20140606232907');
|
2204
|
+
|
2205
|
+
INSERT INTO schema_migrations (version) VALUES ('20140724231918');
|
2206
|
+
|
2207
|
+
INSERT INTO schema_migrations (version) VALUES ('20140806233301');
|
2208
|
+
|
2209
|
+
INSERT INTO schema_migrations (version) VALUES ('20140810224209');
|
2210
|
+
|
2211
|
+
INSERT INTO schema_migrations (version) VALUES ('20140824194031');
|
2212
|
+
|
2213
|
+
INSERT INTO schema_migrations (version) VALUES ('20140824194526');
|
2214
|
+
|
2215
|
+
INSERT INTO schema_migrations (version) VALUES ('20140824211249');
|
2216
|
+
|
2217
|
+
INSERT INTO schema_migrations (version) VALUES ('20140907012329');
|
2218
|
+
|
2219
|
+
INSERT INTO schema_migrations (version) VALUES ('20140907013836');
|
2220
|
+
|
2221
|
+
INSERT INTO schema_migrations (version) VALUES ('20140921190022');
|
2222
|
+
|
2223
|
+
INSERT INTO schema_migrations (version) VALUES ('20140921201441');
|
2224
|
+
|
2225
|
+
INSERT INTO schema_migrations (version) VALUES ('20140925021043');
|
2226
|
+
|
2227
|
+
INSERT INTO schema_migrations (version) VALUES ('20140929004347');
|
2228
|
+
|
2229
|
+
INSERT INTO schema_migrations (version) VALUES ('20141027194819');
|
2230
|
+
|
2231
|
+
INSERT INTO schema_migrations (version) VALUES ('20141202004123');
|
2232
|
+
|
2233
|
+
INSERT INTO schema_migrations (version) VALUES ('20141226171730');
|
2234
|
+
|
2235
|
+
INSERT INTO schema_migrations (version) VALUES ('20150116153233');
|
2236
|
+
|
2237
|
+
INSERT INTO schema_migrations (version) VALUES ('20150119154013');
|
2238
|
+
|
2239
|
+
INSERT INTO schema_migrations (version) VALUES ('20150220215154');
|
2240
|
+
|
2241
|
+
INSERT INTO schema_migrations (version) VALUES ('20150222205616');
|
2242
|
+
|
2243
|
+
INSERT INTO schema_migrations (version) VALUES ('20150222214124');
|
2244
|
+
|
2245
|
+
INSERT INTO schema_migrations (version) VALUES ('20150223013721');
|
2246
|
+
|
2247
|
+
INSERT INTO schema_migrations (version) VALUES ('20150302153319');
|
2248
|
+
|
2249
|
+
INSERT INTO schema_migrations (version) VALUES ('20150323004452');
|
2250
|
+
|
2251
|
+
INSERT INTO schema_migrations (version) VALUES ('20150323011050');
|
2252
|
+
|
2253
|
+
INSERT INTO schema_migrations (version) VALUES ('20150805180939');
|
2254
|
+
|
2255
|
+
INSERT INTO schema_migrations (version) VALUES ('20150805233946');
|
2256
|
+
|
2257
|
+
INSERT INTO schema_migrations (version) VALUES ('20150806032230');
|
2258
|
+
|
2259
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808161729');
|
2260
|
+
|
2261
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808161805');
|
2262
|
+
|
2263
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808162928');
|
2264
|
+
|
2265
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808192103');
|
2266
|
+
|
2267
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808193354');
|
2268
|
+
|
2269
|
+
INSERT INTO schema_migrations (version) VALUES ('20150809132417');
|
2270
|
+
|
2271
|
+
INSERT INTO schema_migrations (version) VALUES ('20150809201942');
|
2272
|
+
|
2273
|
+
INSERT INTO schema_migrations (version) VALUES ('20150817232311');
|
2274
|
+
|
2275
|
+
INSERT INTO schema_migrations (version) VALUES ('20150820023708');
|
2276
|
+
|
2277
|
+
INSERT INTO schema_migrations (version) VALUES ('20150902005758');
|
2278
|
+
|
2279
|
+
INSERT INTO schema_migrations (version) VALUES ('20150902010629');
|
2280
|
+
|
2281
|
+
INSERT INTO schema_migrations (version) VALUES ('20150902010853');
|
2282
|
+
|