houston-roadmaps 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/Gemfile +24 -0
- data/Gemfile.lock +358 -0
- data/MIT-LICENSE +20 -0
- data/README.md +31 -0
- data/Rakefile +25 -0
- data/app/assets/images/houston/roadmaps/.gitkeep +0 -0
- data/app/assets/javascripts/houston/roadmaps/app.coffee +2 -0
- data/app/assets/javascripts/houston/roadmaps/application.js +14 -0
- data/app/assets/javascripts/houston/roadmaps/handlebars_helpers.coffee +22 -0
- data/app/assets/javascripts/houston/roadmaps/jquery_extensions.coffee +4 -0
- data/app/assets/javascripts/houston/roadmaps/models/goal.coffee +11 -0
- data/app/assets/javascripts/houston/roadmaps/models/milestone.coffee +124 -0
- data/app/assets/javascripts/houston/roadmaps/models/roadmap.coffee +16 -0
- data/app/assets/javascripts/houston/roadmaps/models/viewport.coffee +3 -0
- data/app/assets/javascripts/houston/roadmaps/resize_listener.js +67 -0
- data/app/assets/javascripts/houston/roadmaps/views/_gantt_chart.coffee +224 -0
- data/app/assets/javascripts/houston/roadmaps/views/_show_milestone_view.coffee +204 -0
- data/app/assets/javascripts/houston/roadmaps/views/edit_gantt_chart.coffee +405 -0
- data/app/assets/javascripts/houston/roadmaps/views/edit_milestone_view.coffee +97 -0
- data/app/assets/javascripts/houston/roadmaps/views/edit_roadmap_view.coffee +80 -0
- data/app/assets/javascripts/houston/roadmaps/views/gantt_thumbnail_view.coffee +173 -0
- data/app/assets/javascripts/houston/roadmaps/views/goal_view.coffee +18 -0
- data/app/assets/javascripts/houston/roadmaps/views/project_goals_view.coffee +30 -0
- data/app/assets/javascripts/houston/roadmaps/views/roadmap_history_view.coffee +67 -0
- data/app/assets/javascripts/houston/roadmaps/views/roadmap_view.coffee +12 -0
- data/app/assets/javascripts/houston/roadmaps/views/roadmaps_view.coffee +29 -0
- data/app/assets/stylesheets/houston/roadmaps/application.css +13 -0
- data/app/assets/stylesheets/houston/roadmaps/colors.scss.erb +41 -0
- data/app/assets/stylesheets/houston/roadmaps/goals.scss +20 -0
- data/app/assets/stylesheets/houston/roadmaps/milestone.scss +58 -0
- data/app/assets/stylesheets/houston/roadmaps/roadmap.scss +276 -0
- data/app/assets/stylesheets/houston/roadmaps/roadmap_history.scss +42 -0
- data/app/assets/stylesheets/houston/roadmaps/roadmaps.scss +89 -0
- data/app/assets/templates/houston/roadmaps/goals/edit.hbs +6 -0
- data/app/assets/templates/houston/roadmaps/goals/index.hbs +9 -0
- data/app/assets/templates/houston/roadmaps/goals/new.hbs +27 -0
- data/app/assets/templates/houston/roadmaps/goals/show.hbs +6 -0
- data/app/assets/templates/houston/roadmaps/milestone/edit.hbs +67 -0
- data/app/assets/templates/houston/roadmaps/milestone/show.hbs +53 -0
- data/app/assets/templates/houston/roadmaps/milestone/ticket.hbs +28 -0
- data/app/assets/templates/houston/roadmaps/roadmap/goal.hbs +6 -0
- data/app/assets/templates/houston/roadmaps/roadmap/history.hbs +22 -0
- data/app/assets/templates/houston/roadmaps/roadmap/show.hbs +12 -0
- data/app/assets/templates/houston/roadmaps/roadmaps/index.hbs +2 -0
- data/app/assets/templates/houston/roadmaps/roadmaps/show.hbs +11 -0
- data/app/controllers/houston/roadmaps/api/v1/roadmap_controller.rb +20 -0
- data/app/controllers/houston/roadmaps/dashboard_controller.rb +34 -0
- data/app/controllers/houston/roadmaps/milestones_controller.rb +118 -0
- data/app/controllers/houston/roadmaps/project_goals_controller.rb +24 -0
- data/app/controllers/houston/roadmaps/roadmap_milestones_controller.rb +36 -0
- data/app/controllers/houston/roadmaps/roadmaps_controller.rb +77 -0
- data/app/helpers/houston/roadmaps/application_helper.rb +4 -0
- data/app/models/roadmap.rb +9 -0
- data/app/models/roadmap_commit.rb +35 -0
- data/app/models/roadmap_milestone.rb +29 -0
- data/app/models/roadmap_milestone_version.rb +8 -0
- data/app/presenters/houston/roadmaps/milestone_api_presenter.rb +27 -0
- data/app/presenters/houston/roadmaps/milestone_presenter.rb +74 -0
- data/app/presenters/houston/roadmaps/roadmap_milestone_presenter.rb +70 -0
- data/app/presenters/houston/roadmaps/roadmap_presenter.rb +37 -0
- data/app/presenters/houston/roadmaps/ticket_presenter.rb +20 -0
- data/app/views/houston/roadmaps/dashboard/show.html.erb +42 -0
- data/app/views/houston/roadmaps/milestones/show.html.erb +40 -0
- data/app/views/houston/roadmaps/project_goals/index.html.erb +42 -0
- data/app/views/houston/roadmaps/roadmaps/_form.html.erb +29 -0
- data/app/views/houston/roadmaps/roadmaps/edit.html.erb +8 -0
- data/app/views/houston/roadmaps/roadmaps/history.html.erb +41 -0
- data/app/views/houston/roadmaps/roadmaps/index.html.erb +24 -0
- data/app/views/houston/roadmaps/roadmaps/new.html.erb +7 -0
- data/app/views/houston/roadmaps/roadmaps/show.html.erb +27 -0
- data/app/views/houston/roadmaps/roadmaps/show_editable.html.erb +35 -0
- data/app/views/layouts/houston/roadmaps/application.html.erb +10 -0
- data/app/views/layouts/houston/roadmaps/dashboard.html.erb +9 -0
- data/bin/rails +8 -0
- data/config/database.yml +13 -0
- data/config/initializers/add_navigation_renderer.rb +13 -0
- data/config/routes.rb +37 -0
- data/db/.keep +0 -0
- data/db/migrate/20140831210254_add_band_to_milestones.rb +5 -0
- data/db/migrate/20140907212311_add_end_date_to_milestones.rb +19 -0
- data/db/migrate/20140916230539_add_locked_to_milestone.rb +5 -0
- data/db/migrate/20140927154728_add_closed_ticket_count_to_milestones.rb +11 -0
- data/db/migrate/20140929024130_create_roadmap_commits.rb +29 -0
- data/db/migrate/20141012023628_add_user_id_to_milestone_versions.rb +11 -0
- data/db/migrate/20150102192805_add_lanes_to_milestones.rb +5 -0
- data/db/migrate/20150119155145_add_goal_and_feedback_query_to_milestones.rb +6 -0
- data/db/migrate/20150524203903_add_project_id_to_roadmap_commits.rb +17 -0
- data/db/migrate/20150603203744_add_timestamps_to_roadmap_commits.rb +20 -0
- data/db/migrate/20160206214746_rename_roadmap_feature_to_milestones.rb +25 -0
- data/db/migrate/20160207154530_create_roadmaps.rb +125 -0
- data/db/structure.sql +2557 -0
- data/houston-roadmaps.gemspec +29 -0
- data/lib/houston-roadmaps.rb +1 -0
- data/lib/houston/roadmaps.rb +15 -0
- data/lib/houston/roadmaps/configuration.rb +14 -0
- data/lib/houston/roadmaps/engine.rb +27 -0
- data/lib/houston/roadmaps/milestone_ext.rb +14 -0
- data/lib/houston/roadmaps/project_ext.rb +20 -0
- data/lib/houston/roadmaps/railtie.rb +17 -0
- data/lib/houston/roadmaps/version.rb +5 -0
- data/lib/tasks/roadmap_tasks.rake +4 -0
- data/test/acceptance/houston_dummy_test.rb +17 -0
- data/test/dummy/houston.rb +23 -0
- data/test/fixtures/projects.yml +3 -0
- data/test/fixtures/users.yml +10 -0
- data/test/test_helper.rb +43 -0
- data/test/unit/fixtures_test.rb +11 -0
- metadata +227 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
<% content_for :stylesheets do %>
|
2
|
+
<%= stylesheet_link_tag "houston/roadmaps/application", :media => "all" %>
|
3
|
+
<% end %>
|
4
|
+
|
5
|
+
<% content_for :javascripts do %>
|
6
|
+
<%= javascript_include_tag "houston/roadmaps/application" %>
|
7
|
+
<% end %>
|
8
|
+
|
9
|
+
<%= render template: "layouts/dashboard" %>
|
data/bin/rails
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
|
3
|
+
|
4
|
+
ENGINE_ROOT = File.expand_path('../..', __FILE__)
|
5
|
+
ENGINE_PATH = File.expand_path('../../lib/houston/roadmaps/engine', __FILE__)
|
6
|
+
|
7
|
+
require 'rails/all'
|
8
|
+
require 'rails/engine/commands'
|
data/config/database.yml
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
development:
|
2
|
+
adapter: postgresql
|
3
|
+
encoding: utf8
|
4
|
+
database: houston_roadmaps_development
|
5
|
+
host: localhost
|
6
|
+
prepared_statements: false
|
7
|
+
|
8
|
+
test:
|
9
|
+
adapter: postgresql
|
10
|
+
encoding: utf8
|
11
|
+
database: houston_roadmaps_test
|
12
|
+
host: localhost
|
13
|
+
prepared_statements: false
|
@@ -0,0 +1,13 @@
|
|
1
|
+
Houston.config.add_navigation_renderer :roadmaps do
|
2
|
+
if can?(:read, Roadmap)
|
3
|
+
render_nav_link "Roadmaps", Houston::Roadmaps::Engine.routes.url_helpers.roadmaps_path, icon: "fa-map"
|
4
|
+
end
|
5
|
+
end
|
6
|
+
|
7
|
+
|
8
|
+
Houston.config.add_project_feature :goals do
|
9
|
+
name "Goals"
|
10
|
+
icon "fa-flag"
|
11
|
+
path { |project| Houston::Roadmaps::Engine.routes.url_helpers.project_goals_path(project) }
|
12
|
+
ability { |ability, project| ability.can?(:read, project.milestones.build) }
|
13
|
+
end
|
data/config/routes.rb
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
Houston::Roadmaps::Engine.routes.draw do
|
2
|
+
|
3
|
+
get "roadmaps/dashboard", to: "dashboard#show"
|
4
|
+
|
5
|
+
resources :roadmaps do
|
6
|
+
member do
|
7
|
+
get "history"
|
8
|
+
|
9
|
+
get "milestones", to: "roadmap_milestones#index"
|
10
|
+
put "milestones", to: "roadmap_milestones#update"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
scope "roadmaps/projects/:project_slug" do
|
15
|
+
get "goals", to: "project_goals#index", as: :project_goals
|
16
|
+
end
|
17
|
+
|
18
|
+
scope "roadmap" do
|
19
|
+
post "milestones", :to => "milestones#create"
|
20
|
+
get "milestones/:id", :to => "milestones#show", :as => :milestone
|
21
|
+
put "milestones/:id", :to => "milestones#update"
|
22
|
+
put "milestones/:id/ticket_order", :to => "milestones#update_order"
|
23
|
+
|
24
|
+
post "milestones/:id/tickets", :to => "milestones#create_ticket", constraints: {id: /\d+/}
|
25
|
+
post "milestones/:id/tickets/:ticket_id", :to => "milestones#add_ticket", constraints: {id: /\d+/, ticket_id: /\d+/}
|
26
|
+
delete "milestones/:id/tickets/:ticket_id", :to => "milestones#remove_ticket", constraints: {id: /\d+/, ticket_id: /\d+/}
|
27
|
+
end
|
28
|
+
|
29
|
+
scope "roadmap" do
|
30
|
+
namespace "api" do
|
31
|
+
namespace "v1" do
|
32
|
+
get "milestones/current", to: "roadmap#current"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
data/db/.keep
ADDED
File without changes
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class AddEndDateToMilestones < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
add_column :milestones, :end_date, :date
|
4
|
+
|
5
|
+
if Milestone.count > 0
|
6
|
+
execute <<-SQL
|
7
|
+
UPDATE milestones
|
8
|
+
SET end_date=start_date + (size || ' ' || units)::interval - '2 days'::interval
|
9
|
+
WHERE start_date IS NOT NULL
|
10
|
+
AND size IS NOT NULL
|
11
|
+
AND units IS NOT NULL
|
12
|
+
SQL
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def down
|
17
|
+
remove_column :milestones, :end_date
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
class AddClosedTicketCountToMilestones < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
add_column :milestones, :closed_tickets_count, :integer, null: false, default: 0
|
4
|
+
Milestone.reset_column_information
|
5
|
+
Milestone.find_each(&:update_closed_tickets_count!)
|
6
|
+
end
|
7
|
+
|
8
|
+
def down
|
9
|
+
remove_column :milestones, :closed_tickets_count
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
class CreateRoadmapCommits < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
create_table :roadmap_commits do |t|
|
4
|
+
t.integer :user_id, null: false
|
5
|
+
t.string :message, null: false
|
6
|
+
end
|
7
|
+
|
8
|
+
create_table :milestone_versions do |t|
|
9
|
+
t.belongs_to :versioned, :polymorphic => true
|
10
|
+
t.integer :roadmap_commit_id
|
11
|
+
t.text :modifications
|
12
|
+
t.integer :number
|
13
|
+
t.integer :reverted_from
|
14
|
+
t.string :tag
|
15
|
+
|
16
|
+
t.timestamps
|
17
|
+
|
18
|
+
t.index [:versioned_id, :versioned_type]
|
19
|
+
t.index :roadmap_commit_id
|
20
|
+
t.index :number
|
21
|
+
t.index :created_at
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def down
|
26
|
+
drop_table :roadmap_commits
|
27
|
+
drop_table :milestone_versions
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
class AddUserIdToMilestoneVersions < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
add_column :milestone_versions, :user_id, :integer
|
4
|
+
add_column :milestone_versions, :user_type, :string
|
5
|
+
end
|
6
|
+
|
7
|
+
def down
|
8
|
+
remove_column :milestone_versions, :user_id
|
9
|
+
remove_column :milestone_versions, :user_type
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class AddProjectIdToRoadmapCommits < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
add_column :roadmap_commits, :project_id, :integer
|
4
|
+
|
5
|
+
RoadmapCommit.find_each do |commit|
|
6
|
+
version = commit.milestone_versions.first
|
7
|
+
milestone = version.versioned if version
|
8
|
+
commit.update_column :project_id, milestone.project_id if milestone
|
9
|
+
end
|
10
|
+
|
11
|
+
change_column_null :roadmap_commits, :project_id, false
|
12
|
+
end
|
13
|
+
|
14
|
+
def down
|
15
|
+
remove_column :roadmap_commits, :project_id
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class AddTimestampsToRoadmapCommits < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
add_column :roadmap_commits, :created_at, :timestamp
|
4
|
+
add_column :roadmap_commits, :updated_at, :timestamp
|
5
|
+
|
6
|
+
RoadmapCommit.find_each do |commit|
|
7
|
+
version = commit.milestone_versions.first
|
8
|
+
commit.update_column :created_at, version.created_at if version
|
9
|
+
commit.update_column :updated_at, version.created_at if version
|
10
|
+
end
|
11
|
+
|
12
|
+
change_column_null :roadmap_commits, :created_at, false
|
13
|
+
change_column_null :roadmap_commits, :updated_at, false
|
14
|
+
end
|
15
|
+
|
16
|
+
def down
|
17
|
+
remove_column :roadmap_commits, :created_at
|
18
|
+
remove_column :roadmap_commits, :updated_at
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require "progressbar"
|
2
|
+
|
3
|
+
class RenameRoadmapFeatureToMilestones < ActiveRecord::Migration
|
4
|
+
def up
|
5
|
+
projects = Project.with_feature("roadmap")
|
6
|
+
pbar = ProgressBar.new("projects", projects.count)
|
7
|
+
projects.find_each do |project|
|
8
|
+
project.update_column :selected_features,
|
9
|
+
(project.selected_features.map(&:to_sym) - %i{roadmap} + %i{goals}).uniq
|
10
|
+
pbar.inc
|
11
|
+
end
|
12
|
+
pbar.finish
|
13
|
+
end
|
14
|
+
|
15
|
+
def down
|
16
|
+
projects = Project.with_feature("milestones")
|
17
|
+
pbar = ProgressBar.new("projects", projects.count)
|
18
|
+
projects.find_each do |project|
|
19
|
+
project.update_column :selected_features,
|
20
|
+
(project.selected_features.map(&:to_sym) - %i{goals} + %i{roadmap}).uniq
|
21
|
+
pbar.inc
|
22
|
+
end
|
23
|
+
pbar.finish
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,125 @@
|
|
1
|
+
require "progressbar"
|
2
|
+
|
3
|
+
class CreateRoadmaps < ActiveRecord::Migration
|
4
|
+
def up
|
5
|
+
create_table :roadmaps do |t|
|
6
|
+
t.string :name, null: false
|
7
|
+
end
|
8
|
+
|
9
|
+
# Roadmaps can be tied to more than one Project
|
10
|
+
create_table :projects_roadmaps, id: false do |t|
|
11
|
+
t.integer :project_id, null: false
|
12
|
+
t.integer :roadmap_id, null: false
|
13
|
+
t.index [:project_id, :roadmap_id], unique: true
|
14
|
+
end
|
15
|
+
|
16
|
+
# RoadmapCommits will belong to Roadmaps now, not to Projects
|
17
|
+
add_column :roadmap_commits, :roadmap_id, :integer
|
18
|
+
change_column_null :roadmap_commits, :project_id, true
|
19
|
+
|
20
|
+
# Milestones can belong to more than one Roadmap
|
21
|
+
# The RoadmapMilestone model will wrap Milestone
|
22
|
+
# and add band, lanes, start_date, and end_date.
|
23
|
+
#
|
24
|
+
# After this, we can drop those columns from Milestone,
|
25
|
+
# drop MilestoneVersion, and let houston-core implement
|
26
|
+
# versioning on Milestones in a more general-purpose
|
27
|
+
# way.
|
28
|
+
create_table :roadmap_milestones do |t|
|
29
|
+
t.integer :milestone_id, null: false
|
30
|
+
t.integer :roadmap_id, null: false
|
31
|
+
t.integer :band, null: false, default: 1
|
32
|
+
t.date :start_date, null: false
|
33
|
+
t.date :end_date, null: false
|
34
|
+
t.integer :lanes, null: false, default: 1
|
35
|
+
t.timestamp :destroyed_at
|
36
|
+
t.index [:milestone_id, :roadmap_id], unique: true
|
37
|
+
end
|
38
|
+
|
39
|
+
# We need to version RoadmapMilestones, not Milestones
|
40
|
+
create_table :roadmap_milestone_versions do |t|
|
41
|
+
t.belongs_to :versioned, :polymorphic => true
|
42
|
+
t.integer :roadmap_commit_id
|
43
|
+
t.text :modifications
|
44
|
+
t.integer :number
|
45
|
+
t.integer :reverted_from
|
46
|
+
t.string :tag
|
47
|
+
t.integer :user_id
|
48
|
+
t.string :user_type
|
49
|
+
|
50
|
+
t.timestamps
|
51
|
+
|
52
|
+
t.index [:versioned_id, :versioned_type], name: "index_roadmap_milestone_versions_on_versioned"
|
53
|
+
t.index :roadmap_commit_id
|
54
|
+
t.index :number
|
55
|
+
t.index :created_at
|
56
|
+
end
|
57
|
+
|
58
|
+
# Create a Roadmap for every project that has roadmapped milestones
|
59
|
+
milestones = Milestone.arel_table
|
60
|
+
roadmapped_milestones = Milestone.unscoped
|
61
|
+
.where(milestones[:band].not_eq(nil))
|
62
|
+
.where(milestones[:lanes].not_eq(nil))
|
63
|
+
.where(milestones[:start_date].not_eq(nil))
|
64
|
+
.where(milestones[:end_date].not_eq(nil))
|
65
|
+
projects = Project.where(id: roadmapped_milestones.select(:project_id))
|
66
|
+
|
67
|
+
pbar = ProgressBar.new("roadmaps", projects.count)
|
68
|
+
projects.find_each do |project|
|
69
|
+
roadmap = Roadmap.create!(name: project.name, project_ids: [project.id])
|
70
|
+
|
71
|
+
# Associate Milestones with the Roadmap
|
72
|
+
# by creating RoadmapMilestones to wrap each
|
73
|
+
# Milestone that has time frame.
|
74
|
+
RoadmapMilestone.import [:roadmap_id, :milestone_id, :band, :start_date, :end_date, :lanes, :destroyed_at],
|
75
|
+
roadmapped_milestones
|
76
|
+
.where(project_id: project.id)
|
77
|
+
.pluck(:id, :band, :start_date, :end_date, :lanes, :destroyed_at)
|
78
|
+
.map { |attrs| [roadmap.id, *attrs] }
|
79
|
+
|
80
|
+
# Associate RoadmapCommits with the Roadmap
|
81
|
+
RoadmapCommit.where(project_id: project.id).update_all(roadmap_id: roadmap.id)
|
82
|
+
|
83
|
+
# Convert MilestoneVersions to RoadmapMilestoneVersions
|
84
|
+
new_versions = RoadmapMilestone.where(roadmap_id: roadmap.id)
|
85
|
+
.pluck(:milestone_id, :id)
|
86
|
+
.uniq
|
87
|
+
.flat_map do |milestone_id, roadmap_milestone_id|
|
88
|
+
MilestoneVersion.where(versioned_id: milestone_id)
|
89
|
+
.pluck(*VERSION_ATTRIBUTES)
|
90
|
+
.map { |attrs| [roadmap_milestone_id, *attrs] }
|
91
|
+
end
|
92
|
+
RoadmapMilestoneVersion.import [:versioned_id, *VERSION_ATTRIBUTES], new_versions
|
93
|
+
|
94
|
+
pbar.inc
|
95
|
+
end
|
96
|
+
pbar.finish
|
97
|
+
end
|
98
|
+
|
99
|
+
def down
|
100
|
+
RoadmapCommit.where(project_id: nil).delete_all
|
101
|
+
change_column_null :roadmap_commits, :project_id, false
|
102
|
+
remove_column :roadmap_commits, :roadmap_id
|
103
|
+
drop_table :projects_roadmaps
|
104
|
+
drop_table :roadmap_milestone_versions
|
105
|
+
drop_table :roadmap_milestones
|
106
|
+
drop_table :roadmaps
|
107
|
+
end
|
108
|
+
|
109
|
+
VERSION_ATTRIBUTES = %i{
|
110
|
+
versioned_type
|
111
|
+
roadmap_commit_id
|
112
|
+
modifications
|
113
|
+
number
|
114
|
+
reverted_from
|
115
|
+
tag
|
116
|
+
created_at
|
117
|
+
updated_at
|
118
|
+
user_id
|
119
|
+
user_type }.freeze
|
120
|
+
|
121
|
+
class MilestoneVersion < VestalVersions::Version
|
122
|
+
self.table_name = "milestone_versions"
|
123
|
+
end
|
124
|
+
|
125
|
+
end
|
data/db/structure.sql
ADDED
@@ -0,0 +1,2557 @@
|
|
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
|
+
sha character varying(255) NOT NULL,
|
192
|
+
created_at timestamp without time zone,
|
193
|
+
updated_at timestamp without time zone,
|
194
|
+
environment_name character varying(255) DEFAULT 'Production'::character varying NOT NULL,
|
195
|
+
deployer character varying(255),
|
196
|
+
commit_id integer,
|
197
|
+
duration integer,
|
198
|
+
branch character varying(255),
|
199
|
+
completed_at timestamp without time zone,
|
200
|
+
output text,
|
201
|
+
user_id integer,
|
202
|
+
successful boolean DEFAULT false NOT NULL
|
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: measurements; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
227
|
+
--
|
228
|
+
|
229
|
+
CREATE TABLE measurements (
|
230
|
+
id integer NOT NULL,
|
231
|
+
subject_type character varying(255),
|
232
|
+
subject_id integer,
|
233
|
+
name character varying(255) NOT NULL,
|
234
|
+
value character varying(255) NOT NULL,
|
235
|
+
taken_at timestamp without time zone NOT NULL,
|
236
|
+
taken_on date NOT NULL,
|
237
|
+
created_at timestamp without time zone,
|
238
|
+
updated_at timestamp without time zone
|
239
|
+
);
|
240
|
+
|
241
|
+
|
242
|
+
--
|
243
|
+
-- Name: measurements_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
244
|
+
--
|
245
|
+
|
246
|
+
CREATE SEQUENCE measurements_id_seq
|
247
|
+
START WITH 1
|
248
|
+
INCREMENT BY 1
|
249
|
+
NO MINVALUE
|
250
|
+
NO MAXVALUE
|
251
|
+
CACHE 1;
|
252
|
+
|
253
|
+
|
254
|
+
--
|
255
|
+
-- Name: measurements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
256
|
+
--
|
257
|
+
|
258
|
+
ALTER SEQUENCE measurements_id_seq OWNED BY measurements.id;
|
259
|
+
|
260
|
+
|
261
|
+
--
|
262
|
+
-- Name: milestone_versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
263
|
+
--
|
264
|
+
|
265
|
+
CREATE TABLE milestone_versions (
|
266
|
+
id integer NOT NULL,
|
267
|
+
versioned_id integer,
|
268
|
+
versioned_type character varying(255),
|
269
|
+
roadmap_commit_id integer,
|
270
|
+
modifications text,
|
271
|
+
number integer,
|
272
|
+
reverted_from integer,
|
273
|
+
tag character varying(255),
|
274
|
+
created_at timestamp without time zone,
|
275
|
+
updated_at timestamp without time zone,
|
276
|
+
user_id integer,
|
277
|
+
user_type character varying(255)
|
278
|
+
);
|
279
|
+
|
280
|
+
|
281
|
+
--
|
282
|
+
-- Name: milestone_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
283
|
+
--
|
284
|
+
|
285
|
+
CREATE SEQUENCE milestone_versions_id_seq
|
286
|
+
START WITH 1
|
287
|
+
INCREMENT BY 1
|
288
|
+
NO MINVALUE
|
289
|
+
NO MAXVALUE
|
290
|
+
CACHE 1;
|
291
|
+
|
292
|
+
|
293
|
+
--
|
294
|
+
-- Name: milestone_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
295
|
+
--
|
296
|
+
|
297
|
+
ALTER SEQUENCE milestone_versions_id_seq OWNED BY milestone_versions.id;
|
298
|
+
|
299
|
+
|
300
|
+
--
|
301
|
+
-- Name: milestones; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
302
|
+
--
|
303
|
+
|
304
|
+
CREATE TABLE milestones (
|
305
|
+
id integer NOT NULL,
|
306
|
+
project_id integer NOT NULL,
|
307
|
+
remote_id integer,
|
308
|
+
name character varying(255) NOT NULL,
|
309
|
+
tickets_count integer DEFAULT 0,
|
310
|
+
completed_at timestamp without time zone,
|
311
|
+
extended_attributes hstore DEFAULT ''::hstore NOT NULL,
|
312
|
+
created_at timestamp without time zone,
|
313
|
+
updated_at timestamp without time zone,
|
314
|
+
destroyed_at timestamp without time zone,
|
315
|
+
start_date date,
|
316
|
+
band integer DEFAULT 1 NOT NULL,
|
317
|
+
end_date date,
|
318
|
+
locked boolean DEFAULT false NOT NULL,
|
319
|
+
closed_tickets_count integer DEFAULT 0 NOT NULL,
|
320
|
+
lanes integer DEFAULT 1 NOT NULL,
|
321
|
+
goal text,
|
322
|
+
feedback_query character varying(255)
|
323
|
+
);
|
324
|
+
|
325
|
+
|
326
|
+
--
|
327
|
+
-- Name: milestones_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
328
|
+
--
|
329
|
+
|
330
|
+
CREATE SEQUENCE milestones_id_seq
|
331
|
+
START WITH 1
|
332
|
+
INCREMENT BY 1
|
333
|
+
NO MINVALUE
|
334
|
+
NO MAXVALUE
|
335
|
+
CACHE 1;
|
336
|
+
|
337
|
+
|
338
|
+
--
|
339
|
+
-- Name: milestones_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
340
|
+
--
|
341
|
+
|
342
|
+
ALTER SEQUENCE milestones_id_seq OWNED BY milestones.id;
|
343
|
+
|
344
|
+
|
345
|
+
--
|
346
|
+
-- Name: project_quotas; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
347
|
+
--
|
348
|
+
|
349
|
+
CREATE TABLE project_quotas (
|
350
|
+
id integer NOT NULL,
|
351
|
+
project_id integer NOT NULL,
|
352
|
+
week date NOT NULL,
|
353
|
+
value integer NOT NULL,
|
354
|
+
created_at timestamp without time zone,
|
355
|
+
updated_at timestamp without time zone
|
356
|
+
);
|
357
|
+
|
358
|
+
|
359
|
+
--
|
360
|
+
-- Name: project_quotas_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
361
|
+
--
|
362
|
+
|
363
|
+
CREATE SEQUENCE project_quotas_id_seq
|
364
|
+
START WITH 1
|
365
|
+
INCREMENT BY 1
|
366
|
+
NO MINVALUE
|
367
|
+
NO MAXVALUE
|
368
|
+
CACHE 1;
|
369
|
+
|
370
|
+
|
371
|
+
--
|
372
|
+
-- Name: project_quotas_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
373
|
+
--
|
374
|
+
|
375
|
+
ALTER SEQUENCE project_quotas_id_seq OWNED BY project_quotas.id;
|
376
|
+
|
377
|
+
|
378
|
+
--
|
379
|
+
-- Name: projects; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
380
|
+
--
|
381
|
+
|
382
|
+
CREATE TABLE projects (
|
383
|
+
id integer NOT NULL,
|
384
|
+
name character varying(255) NOT NULL,
|
385
|
+
slug character varying(255) NOT NULL,
|
386
|
+
created_at timestamp without time zone,
|
387
|
+
updated_at timestamp without time zone,
|
388
|
+
color character varying(255) DEFAULT 'default'::character varying NOT NULL,
|
389
|
+
retired_at timestamp without time zone,
|
390
|
+
category character varying(255),
|
391
|
+
version_control_name character varying(255) DEFAULT 'None'::character varying NOT NULL,
|
392
|
+
ticket_tracker_name character varying(255) DEFAULT 'None'::character varying NOT NULL,
|
393
|
+
ci_server_name character varying(255) DEFAULT 'None'::character varying NOT NULL,
|
394
|
+
min_passing_verdicts integer DEFAULT 1 NOT NULL,
|
395
|
+
error_tracker_name character varying(255) DEFAULT 'None'::character varying,
|
396
|
+
extended_attributes hstore DEFAULT ''::hstore NOT NULL,
|
397
|
+
code_climate_repo_token character varying(255) DEFAULT ''::character varying NOT NULL,
|
398
|
+
last_ticket_tracker_sync_at timestamp without time zone,
|
399
|
+
ticket_tracker_sync_started_at timestamp without time zone,
|
400
|
+
view_options hstore DEFAULT ''::hstore NOT NULL,
|
401
|
+
feature_states hstore DEFAULT ''::hstore NOT NULL,
|
402
|
+
selected_features text[],
|
403
|
+
head_sha character varying
|
404
|
+
);
|
405
|
+
|
406
|
+
|
407
|
+
--
|
408
|
+
-- Name: projects_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
409
|
+
--
|
410
|
+
|
411
|
+
CREATE SEQUENCE projects_id_seq
|
412
|
+
START WITH 1
|
413
|
+
INCREMENT BY 1
|
414
|
+
NO MINVALUE
|
415
|
+
NO MAXVALUE
|
416
|
+
CACHE 1;
|
417
|
+
|
418
|
+
|
419
|
+
--
|
420
|
+
-- Name: projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
421
|
+
--
|
422
|
+
|
423
|
+
ALTER SEQUENCE projects_id_seq OWNED BY projects.id;
|
424
|
+
|
425
|
+
|
426
|
+
--
|
427
|
+
-- Name: projects_roadmaps; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
428
|
+
--
|
429
|
+
|
430
|
+
CREATE TABLE projects_roadmaps (
|
431
|
+
project_id integer NOT NULL,
|
432
|
+
roadmap_id integer NOT NULL
|
433
|
+
);
|
434
|
+
|
435
|
+
|
436
|
+
--
|
437
|
+
-- Name: pull_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
438
|
+
--
|
439
|
+
|
440
|
+
CREATE TABLE pull_requests (
|
441
|
+
id integer NOT NULL,
|
442
|
+
project_id integer NOT NULL,
|
443
|
+
user_id integer,
|
444
|
+
title character varying(255) NOT NULL,
|
445
|
+
number integer NOT NULL,
|
446
|
+
repo character varying(255) NOT NULL,
|
447
|
+
username character varying(255) NOT NULL,
|
448
|
+
url character varying(255) NOT NULL,
|
449
|
+
base_ref character varying(255) NOT NULL,
|
450
|
+
base_sha character varying(255) NOT NULL,
|
451
|
+
head_ref character varying(255) NOT NULL,
|
452
|
+
head_sha character varying(255) NOT NULL,
|
453
|
+
body text,
|
454
|
+
props jsonb DEFAULT '{}'::jsonb,
|
455
|
+
avatar_url character varying,
|
456
|
+
json_labels jsonb DEFAULT '[]'::jsonb,
|
457
|
+
created_at timestamp without time zone,
|
458
|
+
updated_at timestamp without time zone
|
459
|
+
);
|
460
|
+
|
461
|
+
|
462
|
+
--
|
463
|
+
-- Name: pull_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
464
|
+
--
|
465
|
+
|
466
|
+
CREATE SEQUENCE pull_requests_id_seq
|
467
|
+
START WITH 1
|
468
|
+
INCREMENT BY 1
|
469
|
+
NO MINVALUE
|
470
|
+
NO MAXVALUE
|
471
|
+
CACHE 1;
|
472
|
+
|
473
|
+
|
474
|
+
--
|
475
|
+
-- Name: pull_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
476
|
+
--
|
477
|
+
|
478
|
+
ALTER SEQUENCE pull_requests_id_seq OWNED BY pull_requests.id;
|
479
|
+
|
480
|
+
|
481
|
+
--
|
482
|
+
-- Name: releases; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
483
|
+
--
|
484
|
+
|
485
|
+
CREATE TABLE releases (
|
486
|
+
id integer NOT NULL,
|
487
|
+
name character varying(255),
|
488
|
+
commit0 character varying(255),
|
489
|
+
commit1 character varying(255),
|
490
|
+
created_at timestamp without time zone,
|
491
|
+
updated_at timestamp without time zone,
|
492
|
+
user_id integer NOT NULL,
|
493
|
+
message text DEFAULT ''::text NOT NULL,
|
494
|
+
deploy_id integer,
|
495
|
+
project_id integer DEFAULT (-1) NOT NULL,
|
496
|
+
environment_name character varying(255) DEFAULT 'Production'::character varying NOT NULL,
|
497
|
+
release_changes text DEFAULT ''::text NOT NULL,
|
498
|
+
commit_before_id integer,
|
499
|
+
commit_after_id integer,
|
500
|
+
search_vector tsvector
|
501
|
+
);
|
502
|
+
|
503
|
+
|
504
|
+
--
|
505
|
+
-- Name: releases_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
506
|
+
--
|
507
|
+
|
508
|
+
CREATE SEQUENCE releases_id_seq
|
509
|
+
START WITH 1
|
510
|
+
INCREMENT BY 1
|
511
|
+
NO MINVALUE
|
512
|
+
NO MAXVALUE
|
513
|
+
CACHE 1;
|
514
|
+
|
515
|
+
|
516
|
+
--
|
517
|
+
-- Name: releases_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
518
|
+
--
|
519
|
+
|
520
|
+
ALTER SEQUENCE releases_id_seq OWNED BY releases.id;
|
521
|
+
|
522
|
+
|
523
|
+
--
|
524
|
+
-- Name: releases_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
525
|
+
--
|
526
|
+
|
527
|
+
CREATE TABLE releases_tasks (
|
528
|
+
release_id integer,
|
529
|
+
task_id integer
|
530
|
+
);
|
531
|
+
|
532
|
+
|
533
|
+
--
|
534
|
+
-- Name: releases_tickets; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
535
|
+
--
|
536
|
+
|
537
|
+
CREATE TABLE releases_tickets (
|
538
|
+
release_id integer,
|
539
|
+
ticket_id integer
|
540
|
+
);
|
541
|
+
|
542
|
+
|
543
|
+
--
|
544
|
+
-- Name: roadmap_commits; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
545
|
+
--
|
546
|
+
|
547
|
+
CREATE TABLE roadmap_commits (
|
548
|
+
id integer NOT NULL,
|
549
|
+
user_id integer NOT NULL,
|
550
|
+
message character varying(255) NOT NULL,
|
551
|
+
project_id integer,
|
552
|
+
created_at timestamp without time zone NOT NULL,
|
553
|
+
updated_at timestamp without time zone NOT NULL,
|
554
|
+
roadmap_id integer
|
555
|
+
);
|
556
|
+
|
557
|
+
|
558
|
+
--
|
559
|
+
-- Name: roadmap_commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
560
|
+
--
|
561
|
+
|
562
|
+
CREATE SEQUENCE roadmap_commits_id_seq
|
563
|
+
START WITH 1
|
564
|
+
INCREMENT BY 1
|
565
|
+
NO MINVALUE
|
566
|
+
NO MAXVALUE
|
567
|
+
CACHE 1;
|
568
|
+
|
569
|
+
|
570
|
+
--
|
571
|
+
-- Name: roadmap_commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
572
|
+
--
|
573
|
+
|
574
|
+
ALTER SEQUENCE roadmap_commits_id_seq OWNED BY roadmap_commits.id;
|
575
|
+
|
576
|
+
|
577
|
+
--
|
578
|
+
-- Name: roadmap_milestones; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
579
|
+
--
|
580
|
+
|
581
|
+
CREATE TABLE roadmap_milestones (
|
582
|
+
id integer NOT NULL,
|
583
|
+
milestone_id integer NOT NULL,
|
584
|
+
roadmap_id integer NOT NULL,
|
585
|
+
band integer DEFAULT 1 NOT NULL,
|
586
|
+
start_date date NOT NULL,
|
587
|
+
end_date date NOT NULL,
|
588
|
+
lanes integer DEFAULT 1 NOT NULL
|
589
|
+
);
|
590
|
+
|
591
|
+
|
592
|
+
--
|
593
|
+
-- Name: roadmap_milestones_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
594
|
+
--
|
595
|
+
|
596
|
+
CREATE SEQUENCE roadmap_milestones_id_seq
|
597
|
+
START WITH 1
|
598
|
+
INCREMENT BY 1
|
599
|
+
NO MINVALUE
|
600
|
+
NO MAXVALUE
|
601
|
+
CACHE 1;
|
602
|
+
|
603
|
+
|
604
|
+
--
|
605
|
+
-- Name: roadmap_milestones_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
606
|
+
--
|
607
|
+
|
608
|
+
ALTER SEQUENCE roadmap_milestones_id_seq OWNED BY roadmap_milestones.id;
|
609
|
+
|
610
|
+
|
611
|
+
--
|
612
|
+
-- Name: roadmaps; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
613
|
+
--
|
614
|
+
|
615
|
+
CREATE TABLE roadmaps (
|
616
|
+
id integer NOT NULL,
|
617
|
+
name character varying NOT NULL
|
618
|
+
);
|
619
|
+
|
620
|
+
|
621
|
+
--
|
622
|
+
-- Name: roadmaps_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
623
|
+
--
|
624
|
+
|
625
|
+
CREATE SEQUENCE roadmaps_id_seq
|
626
|
+
START WITH 1
|
627
|
+
INCREMENT BY 1
|
628
|
+
NO MINVALUE
|
629
|
+
NO MAXVALUE
|
630
|
+
CACHE 1;
|
631
|
+
|
632
|
+
|
633
|
+
--
|
634
|
+
-- Name: roadmaps_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
635
|
+
--
|
636
|
+
|
637
|
+
ALTER SEQUENCE roadmaps_id_seq OWNED BY roadmaps.id;
|
638
|
+
|
639
|
+
|
640
|
+
--
|
641
|
+
-- Name: roles; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
642
|
+
--
|
643
|
+
|
644
|
+
CREATE TABLE roles (
|
645
|
+
id integer NOT NULL,
|
646
|
+
user_id integer,
|
647
|
+
project_id integer,
|
648
|
+
name character varying(255) NOT NULL,
|
649
|
+
created_at timestamp without time zone,
|
650
|
+
updated_at timestamp without time zone
|
651
|
+
);
|
652
|
+
|
653
|
+
|
654
|
+
--
|
655
|
+
-- Name: roles_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
656
|
+
--
|
657
|
+
|
658
|
+
CREATE SEQUENCE roles_id_seq
|
659
|
+
START WITH 1
|
660
|
+
INCREMENT BY 1
|
661
|
+
NO MINVALUE
|
662
|
+
NO MAXVALUE
|
663
|
+
CACHE 1;
|
664
|
+
|
665
|
+
|
666
|
+
--
|
667
|
+
-- Name: roles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
668
|
+
--
|
669
|
+
|
670
|
+
ALTER SEQUENCE roles_id_seq OWNED BY roles.id;
|
671
|
+
|
672
|
+
|
673
|
+
--
|
674
|
+
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
675
|
+
--
|
676
|
+
|
677
|
+
CREATE TABLE schema_migrations (
|
678
|
+
version character varying(255) NOT NULL
|
679
|
+
);
|
680
|
+
|
681
|
+
|
682
|
+
--
|
683
|
+
-- Name: settings; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
684
|
+
--
|
685
|
+
|
686
|
+
CREATE TABLE settings (
|
687
|
+
id integer NOT NULL,
|
688
|
+
name character varying(255) NOT NULL,
|
689
|
+
value character varying(255) NOT NULL
|
690
|
+
);
|
691
|
+
|
692
|
+
|
693
|
+
--
|
694
|
+
-- Name: settings_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
695
|
+
--
|
696
|
+
|
697
|
+
CREATE SEQUENCE settings_id_seq
|
698
|
+
START WITH 1
|
699
|
+
INCREMENT BY 1
|
700
|
+
NO MINVALUE
|
701
|
+
NO MAXVALUE
|
702
|
+
CACHE 1;
|
703
|
+
|
704
|
+
|
705
|
+
--
|
706
|
+
-- Name: settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
707
|
+
--
|
708
|
+
|
709
|
+
ALTER SEQUENCE settings_id_seq OWNED BY settings.id;
|
710
|
+
|
711
|
+
|
712
|
+
--
|
713
|
+
-- Name: sprints; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
714
|
+
--
|
715
|
+
|
716
|
+
CREATE TABLE sprints (
|
717
|
+
id integer NOT NULL,
|
718
|
+
end_date date,
|
719
|
+
created_at timestamp without time zone,
|
720
|
+
updated_at timestamp without time zone,
|
721
|
+
locked boolean DEFAULT false NOT NULL
|
722
|
+
);
|
723
|
+
|
724
|
+
|
725
|
+
--
|
726
|
+
-- Name: sprints_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
727
|
+
--
|
728
|
+
|
729
|
+
CREATE SEQUENCE sprints_id_seq
|
730
|
+
START WITH 1
|
731
|
+
INCREMENT BY 1
|
732
|
+
NO MINVALUE
|
733
|
+
NO MAXVALUE
|
734
|
+
CACHE 1;
|
735
|
+
|
736
|
+
|
737
|
+
--
|
738
|
+
-- Name: sprints_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
739
|
+
--
|
740
|
+
|
741
|
+
ALTER SEQUENCE sprints_id_seq OWNED BY sprints.id;
|
742
|
+
|
743
|
+
|
744
|
+
--
|
745
|
+
-- Name: sprints_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
746
|
+
--
|
747
|
+
|
748
|
+
CREATE TABLE sprints_tasks (
|
749
|
+
sprint_id integer NOT NULL,
|
750
|
+
task_id integer NOT NULL,
|
751
|
+
checked_out_at timestamp without time zone,
|
752
|
+
checked_out_by_id integer
|
753
|
+
);
|
754
|
+
|
755
|
+
|
756
|
+
--
|
757
|
+
-- Name: tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
758
|
+
--
|
759
|
+
|
760
|
+
CREATE TABLE tasks (
|
761
|
+
id integer NOT NULL,
|
762
|
+
ticket_id integer NOT NULL,
|
763
|
+
number integer NOT NULL,
|
764
|
+
description character varying(255),
|
765
|
+
effort numeric(6,2),
|
766
|
+
first_release_at timestamp without time zone,
|
767
|
+
first_commit_at timestamp without time zone,
|
768
|
+
sprint_id integer,
|
769
|
+
created_at timestamp without time zone,
|
770
|
+
updated_at timestamp without time zone,
|
771
|
+
project_id integer NOT NULL,
|
772
|
+
completed_at timestamp without time zone
|
773
|
+
);
|
774
|
+
|
775
|
+
|
776
|
+
--
|
777
|
+
-- Name: tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
778
|
+
--
|
779
|
+
|
780
|
+
CREATE SEQUENCE tasks_id_seq
|
781
|
+
START WITH 1
|
782
|
+
INCREMENT BY 1
|
783
|
+
NO MINVALUE
|
784
|
+
NO MAXVALUE
|
785
|
+
CACHE 1;
|
786
|
+
|
787
|
+
|
788
|
+
--
|
789
|
+
-- Name: tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
790
|
+
--
|
791
|
+
|
792
|
+
ALTER SEQUENCE tasks_id_seq OWNED BY tasks.id;
|
793
|
+
|
794
|
+
|
795
|
+
--
|
796
|
+
-- Name: test_errors; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
797
|
+
--
|
798
|
+
|
799
|
+
CREATE TABLE test_errors (
|
800
|
+
id integer NOT NULL,
|
801
|
+
sha character varying(255),
|
802
|
+
output text
|
803
|
+
);
|
804
|
+
|
805
|
+
|
806
|
+
--
|
807
|
+
-- Name: test_errors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
808
|
+
--
|
809
|
+
|
810
|
+
CREATE SEQUENCE test_errors_id_seq
|
811
|
+
START WITH 1
|
812
|
+
INCREMENT BY 1
|
813
|
+
NO MINVALUE
|
814
|
+
NO MAXVALUE
|
815
|
+
CACHE 1;
|
816
|
+
|
817
|
+
|
818
|
+
--
|
819
|
+
-- Name: test_errors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
820
|
+
--
|
821
|
+
|
822
|
+
ALTER SEQUENCE test_errors_id_seq OWNED BY test_errors.id;
|
823
|
+
|
824
|
+
|
825
|
+
--
|
826
|
+
-- Name: test_results; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
827
|
+
--
|
828
|
+
|
829
|
+
CREATE TABLE test_results (
|
830
|
+
id integer NOT NULL,
|
831
|
+
test_run_id integer NOT NULL,
|
832
|
+
test_id integer NOT NULL,
|
833
|
+
status test_result_status NOT NULL,
|
834
|
+
different boolean,
|
835
|
+
duration double precision,
|
836
|
+
error_id integer,
|
837
|
+
new_test boolean
|
838
|
+
);
|
839
|
+
|
840
|
+
|
841
|
+
--
|
842
|
+
-- Name: test_results_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
843
|
+
--
|
844
|
+
|
845
|
+
CREATE SEQUENCE test_results_id_seq
|
846
|
+
START WITH 1
|
847
|
+
INCREMENT BY 1
|
848
|
+
NO MINVALUE
|
849
|
+
NO MAXVALUE
|
850
|
+
CACHE 1;
|
851
|
+
|
852
|
+
|
853
|
+
--
|
854
|
+
-- Name: test_results_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
855
|
+
--
|
856
|
+
|
857
|
+
ALTER SEQUENCE test_results_id_seq OWNED BY test_results.id;
|
858
|
+
|
859
|
+
|
860
|
+
--
|
861
|
+
-- Name: test_runs; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
862
|
+
--
|
863
|
+
|
864
|
+
CREATE TABLE test_runs (
|
865
|
+
id integer NOT NULL,
|
866
|
+
project_id integer NOT NULL,
|
867
|
+
sha character varying(255) NOT NULL,
|
868
|
+
completed_at timestamp without time zone,
|
869
|
+
results_url character varying(255),
|
870
|
+
result character varying(255),
|
871
|
+
duration integer DEFAULT 0 NOT NULL,
|
872
|
+
fail_count integer DEFAULT 0 NOT NULL,
|
873
|
+
pass_count integer DEFAULT 0 NOT NULL,
|
874
|
+
skip_count integer DEFAULT 0 NOT NULL,
|
875
|
+
created_at timestamp without time zone,
|
876
|
+
updated_at timestamp without time zone,
|
877
|
+
tests text,
|
878
|
+
total_count integer DEFAULT 0 NOT NULL,
|
879
|
+
agent_email character varying(255),
|
880
|
+
branch character varying(255),
|
881
|
+
coverage text,
|
882
|
+
covered_percent numeric(6,5) DEFAULT 0 NOT NULL,
|
883
|
+
covered_strength numeric(6,5) DEFAULT 0 NOT NULL,
|
884
|
+
regression_count integer DEFAULT 0 NOT NULL,
|
885
|
+
commit_id integer,
|
886
|
+
user_id integer,
|
887
|
+
compared boolean DEFAULT false NOT NULL
|
888
|
+
);
|
889
|
+
|
890
|
+
|
891
|
+
--
|
892
|
+
-- Name: test_runs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
893
|
+
--
|
894
|
+
|
895
|
+
CREATE SEQUENCE test_runs_id_seq
|
896
|
+
START WITH 1
|
897
|
+
INCREMENT BY 1
|
898
|
+
NO MINVALUE
|
899
|
+
NO MAXVALUE
|
900
|
+
CACHE 1;
|
901
|
+
|
902
|
+
|
903
|
+
--
|
904
|
+
-- Name: test_runs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
905
|
+
--
|
906
|
+
|
907
|
+
ALTER SEQUENCE test_runs_id_seq OWNED BY test_runs.id;
|
908
|
+
|
909
|
+
|
910
|
+
--
|
911
|
+
-- Name: testing_notes; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
912
|
+
--
|
913
|
+
|
914
|
+
CREATE TABLE testing_notes (
|
915
|
+
id integer NOT NULL,
|
916
|
+
user_id integer,
|
917
|
+
ticket_id integer,
|
918
|
+
verdict character varying(255) NOT NULL,
|
919
|
+
comment text DEFAULT ''::character varying NOT NULL,
|
920
|
+
created_at timestamp without time zone,
|
921
|
+
updated_at timestamp without time zone,
|
922
|
+
expires_at timestamp without time zone,
|
923
|
+
remote_id integer,
|
924
|
+
project_id integer NOT NULL
|
925
|
+
);
|
926
|
+
|
927
|
+
|
928
|
+
--
|
929
|
+
-- Name: testing_notes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
930
|
+
--
|
931
|
+
|
932
|
+
CREATE SEQUENCE testing_notes_id_seq
|
933
|
+
START WITH 1
|
934
|
+
INCREMENT BY 1
|
935
|
+
NO MINVALUE
|
936
|
+
NO MAXVALUE
|
937
|
+
CACHE 1;
|
938
|
+
|
939
|
+
|
940
|
+
--
|
941
|
+
-- Name: testing_notes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
942
|
+
--
|
943
|
+
|
944
|
+
ALTER SEQUENCE testing_notes_id_seq OWNED BY testing_notes.id;
|
945
|
+
|
946
|
+
|
947
|
+
--
|
948
|
+
-- Name: tests; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
949
|
+
--
|
950
|
+
|
951
|
+
CREATE TABLE tests (
|
952
|
+
id integer NOT NULL,
|
953
|
+
project_id integer NOT NULL,
|
954
|
+
suite character varying(255) NOT NULL,
|
955
|
+
name text NOT NULL
|
956
|
+
);
|
957
|
+
|
958
|
+
|
959
|
+
--
|
960
|
+
-- Name: tests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
961
|
+
--
|
962
|
+
|
963
|
+
CREATE SEQUENCE tests_id_seq
|
964
|
+
START WITH 1
|
965
|
+
INCREMENT BY 1
|
966
|
+
NO MINVALUE
|
967
|
+
NO MAXVALUE
|
968
|
+
CACHE 1;
|
969
|
+
|
970
|
+
|
971
|
+
--
|
972
|
+
-- Name: tests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
973
|
+
--
|
974
|
+
|
975
|
+
ALTER SEQUENCE tests_id_seq OWNED BY tests.id;
|
976
|
+
|
977
|
+
|
978
|
+
--
|
979
|
+
-- Name: ticket_queues; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
980
|
+
--
|
981
|
+
|
982
|
+
CREATE TABLE ticket_queues (
|
983
|
+
id integer NOT NULL,
|
984
|
+
ticket_id integer,
|
985
|
+
queue character varying(255),
|
986
|
+
destroyed_at timestamp without time zone,
|
987
|
+
created_at timestamp without time zone,
|
988
|
+
updated_at timestamp without time zone
|
989
|
+
);
|
990
|
+
|
991
|
+
|
992
|
+
--
|
993
|
+
-- Name: ticket_queues_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
994
|
+
--
|
995
|
+
|
996
|
+
CREATE SEQUENCE ticket_queues_id_seq
|
997
|
+
START WITH 1
|
998
|
+
INCREMENT BY 1
|
999
|
+
NO MINVALUE
|
1000
|
+
NO MAXVALUE
|
1001
|
+
CACHE 1;
|
1002
|
+
|
1003
|
+
|
1004
|
+
--
|
1005
|
+
-- Name: ticket_queues_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1006
|
+
--
|
1007
|
+
|
1008
|
+
ALTER SEQUENCE ticket_queues_id_seq OWNED BY ticket_queues.id;
|
1009
|
+
|
1010
|
+
|
1011
|
+
--
|
1012
|
+
-- Name: tickets; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1013
|
+
--
|
1014
|
+
|
1015
|
+
CREATE TABLE tickets (
|
1016
|
+
id integer NOT NULL,
|
1017
|
+
project_id integer,
|
1018
|
+
number integer NOT NULL,
|
1019
|
+
summary character varying(255),
|
1020
|
+
description text,
|
1021
|
+
created_at timestamp without time zone,
|
1022
|
+
updated_at timestamp without time zone,
|
1023
|
+
remote_id integer,
|
1024
|
+
deployment character varying(255),
|
1025
|
+
last_release_at timestamp without time zone,
|
1026
|
+
expires_at timestamp without time zone,
|
1027
|
+
extended_attributes hstore DEFAULT ''::hstore NOT NULL,
|
1028
|
+
antecedents text[],
|
1029
|
+
tags character varying(255)[],
|
1030
|
+
type character varying(255),
|
1031
|
+
closed_at timestamp without time zone,
|
1032
|
+
reporter_email character varying(255),
|
1033
|
+
reporter_id integer,
|
1034
|
+
milestone_id integer,
|
1035
|
+
destroyed_at timestamp without time zone,
|
1036
|
+
resolution character varying(255) DEFAULT ''::character varying NOT NULL,
|
1037
|
+
first_release_at timestamp without time zone,
|
1038
|
+
priority character varying(255) DEFAULT 'normal'::character varying NOT NULL,
|
1039
|
+
reopened_at timestamp without time zone,
|
1040
|
+
prerequisites integer[]
|
1041
|
+
);
|
1042
|
+
|
1043
|
+
|
1044
|
+
--
|
1045
|
+
-- Name: tickets_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1046
|
+
--
|
1047
|
+
|
1048
|
+
CREATE SEQUENCE tickets_id_seq
|
1049
|
+
START WITH 1
|
1050
|
+
INCREMENT BY 1
|
1051
|
+
NO MINVALUE
|
1052
|
+
NO MAXVALUE
|
1053
|
+
CACHE 1;
|
1054
|
+
|
1055
|
+
|
1056
|
+
--
|
1057
|
+
-- Name: tickets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1058
|
+
--
|
1059
|
+
|
1060
|
+
ALTER SEQUENCE tickets_id_seq OWNED BY tickets.id;
|
1061
|
+
|
1062
|
+
|
1063
|
+
--
|
1064
|
+
-- Name: user_credentials; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1065
|
+
--
|
1066
|
+
|
1067
|
+
CREATE TABLE user_credentials (
|
1068
|
+
id integer NOT NULL,
|
1069
|
+
user_id integer,
|
1070
|
+
service character varying(255),
|
1071
|
+
login character varying(255),
|
1072
|
+
password bytea,
|
1073
|
+
password_key bytea,
|
1074
|
+
password_iv bytea,
|
1075
|
+
created_at timestamp without time zone,
|
1076
|
+
updated_at timestamp without time zone
|
1077
|
+
);
|
1078
|
+
|
1079
|
+
|
1080
|
+
--
|
1081
|
+
-- Name: user_credentials_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1082
|
+
--
|
1083
|
+
|
1084
|
+
CREATE SEQUENCE user_credentials_id_seq
|
1085
|
+
START WITH 1
|
1086
|
+
INCREMENT BY 1
|
1087
|
+
NO MINVALUE
|
1088
|
+
NO MAXVALUE
|
1089
|
+
CACHE 1;
|
1090
|
+
|
1091
|
+
|
1092
|
+
--
|
1093
|
+
-- Name: user_credentials_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1094
|
+
--
|
1095
|
+
|
1096
|
+
ALTER SEQUENCE user_credentials_id_seq OWNED BY user_credentials.id;
|
1097
|
+
|
1098
|
+
|
1099
|
+
--
|
1100
|
+
-- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1101
|
+
--
|
1102
|
+
|
1103
|
+
CREATE TABLE users (
|
1104
|
+
id integer NOT NULL,
|
1105
|
+
email character varying(255) DEFAULT ''::character varying NOT NULL,
|
1106
|
+
encrypted_password character varying(255) DEFAULT ''::character varying,
|
1107
|
+
reset_password_token character varying(255),
|
1108
|
+
reset_password_sent_at timestamp without time zone,
|
1109
|
+
remember_created_at timestamp without time zone,
|
1110
|
+
sign_in_count integer DEFAULT 0,
|
1111
|
+
current_sign_in_at timestamp without time zone,
|
1112
|
+
last_sign_in_at timestamp without time zone,
|
1113
|
+
current_sign_in_ip character varying(255),
|
1114
|
+
last_sign_in_ip character varying(255),
|
1115
|
+
created_at timestamp without time zone,
|
1116
|
+
updated_at timestamp without time zone,
|
1117
|
+
invitation_token character varying(60),
|
1118
|
+
invitation_sent_at timestamp without time zone,
|
1119
|
+
invitation_accepted_at timestamp without time zone,
|
1120
|
+
invitation_limit integer,
|
1121
|
+
invited_by_id integer,
|
1122
|
+
invited_by_type character varying(255),
|
1123
|
+
role character varying(255) DEFAULT 'Guest'::character varying,
|
1124
|
+
authentication_token character varying(255),
|
1125
|
+
administrator boolean DEFAULT false,
|
1126
|
+
unfuddle_id integer,
|
1127
|
+
first_name character varying(255),
|
1128
|
+
last_name character varying(255),
|
1129
|
+
retired_at timestamp without time zone,
|
1130
|
+
view_options hstore DEFAULT ''::hstore NOT NULL,
|
1131
|
+
email_addresses text[],
|
1132
|
+
invitation_created_at timestamp without time zone,
|
1133
|
+
environments_subscribed_to text[] DEFAULT '{}'::text[] NOT NULL,
|
1134
|
+
current_project_id integer,
|
1135
|
+
nickname character varying(255),
|
1136
|
+
username character varying(255)
|
1137
|
+
);
|
1138
|
+
|
1139
|
+
|
1140
|
+
--
|
1141
|
+
-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1142
|
+
--
|
1143
|
+
|
1144
|
+
CREATE SEQUENCE users_id_seq
|
1145
|
+
START WITH 1
|
1146
|
+
INCREMENT BY 1
|
1147
|
+
NO MINVALUE
|
1148
|
+
NO MAXVALUE
|
1149
|
+
CACHE 1;
|
1150
|
+
|
1151
|
+
|
1152
|
+
--
|
1153
|
+
-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1154
|
+
--
|
1155
|
+
|
1156
|
+
ALTER SEQUENCE users_id_seq OWNED BY users.id;
|
1157
|
+
|
1158
|
+
|
1159
|
+
--
|
1160
|
+
-- Name: value_statements; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1161
|
+
--
|
1162
|
+
|
1163
|
+
CREATE TABLE value_statements (
|
1164
|
+
id integer NOT NULL,
|
1165
|
+
project_id integer NOT NULL,
|
1166
|
+
weight double precision NOT NULL,
|
1167
|
+
text character varying(255) NOT NULL
|
1168
|
+
);
|
1169
|
+
|
1170
|
+
|
1171
|
+
--
|
1172
|
+
-- Name: value_statements_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1173
|
+
--
|
1174
|
+
|
1175
|
+
CREATE SEQUENCE value_statements_id_seq
|
1176
|
+
START WITH 1
|
1177
|
+
INCREMENT BY 1
|
1178
|
+
NO MINVALUE
|
1179
|
+
NO MAXVALUE
|
1180
|
+
CACHE 1;
|
1181
|
+
|
1182
|
+
|
1183
|
+
--
|
1184
|
+
-- Name: value_statements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1185
|
+
--
|
1186
|
+
|
1187
|
+
ALTER SEQUENCE value_statements_id_seq OWNED BY value_statements.id;
|
1188
|
+
|
1189
|
+
|
1190
|
+
--
|
1191
|
+
-- Name: versions; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1192
|
+
--
|
1193
|
+
|
1194
|
+
CREATE TABLE versions (
|
1195
|
+
id integer NOT NULL,
|
1196
|
+
versioned_id integer,
|
1197
|
+
versioned_type character varying(255),
|
1198
|
+
user_id integer,
|
1199
|
+
user_type character varying(255),
|
1200
|
+
user_name character varying(255),
|
1201
|
+
modifications text,
|
1202
|
+
number integer,
|
1203
|
+
reverted_from integer,
|
1204
|
+
tag character varying(255),
|
1205
|
+
created_at timestamp without time zone,
|
1206
|
+
updated_at timestamp without time zone
|
1207
|
+
);
|
1208
|
+
|
1209
|
+
|
1210
|
+
--
|
1211
|
+
-- Name: versions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1212
|
+
--
|
1213
|
+
|
1214
|
+
CREATE SEQUENCE versions_id_seq
|
1215
|
+
START WITH 1
|
1216
|
+
INCREMENT BY 1
|
1217
|
+
NO MINVALUE
|
1218
|
+
NO MAXVALUE
|
1219
|
+
CACHE 1;
|
1220
|
+
|
1221
|
+
|
1222
|
+
--
|
1223
|
+
-- Name: versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1224
|
+
--
|
1225
|
+
|
1226
|
+
ALTER SEQUENCE versions_id_seq OWNED BY versions.id;
|
1227
|
+
|
1228
|
+
|
1229
|
+
--
|
1230
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1231
|
+
--
|
1232
|
+
|
1233
|
+
ALTER TABLE ONLY commits ALTER COLUMN id SET DEFAULT nextval('commits_id_seq'::regclass);
|
1234
|
+
|
1235
|
+
|
1236
|
+
--
|
1237
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1238
|
+
--
|
1239
|
+
|
1240
|
+
ALTER TABLE ONLY consumer_tokens ALTER COLUMN id SET DEFAULT nextval('consumer_tokens_id_seq'::regclass);
|
1241
|
+
|
1242
|
+
|
1243
|
+
--
|
1244
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1245
|
+
--
|
1246
|
+
|
1247
|
+
ALTER TABLE ONLY deploys ALTER COLUMN id SET DEFAULT nextval('deploys_id_seq'::regclass);
|
1248
|
+
|
1249
|
+
|
1250
|
+
--
|
1251
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1252
|
+
--
|
1253
|
+
|
1254
|
+
ALTER TABLE ONLY measurements ALTER COLUMN id SET DEFAULT nextval('measurements_id_seq'::regclass);
|
1255
|
+
|
1256
|
+
|
1257
|
+
--
|
1258
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1259
|
+
--
|
1260
|
+
|
1261
|
+
ALTER TABLE ONLY milestone_versions ALTER COLUMN id SET DEFAULT nextval('milestone_versions_id_seq'::regclass);
|
1262
|
+
|
1263
|
+
|
1264
|
+
--
|
1265
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1266
|
+
--
|
1267
|
+
|
1268
|
+
ALTER TABLE ONLY milestones ALTER COLUMN id SET DEFAULT nextval('milestones_id_seq'::regclass);
|
1269
|
+
|
1270
|
+
|
1271
|
+
--
|
1272
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1273
|
+
--
|
1274
|
+
|
1275
|
+
ALTER TABLE ONLY project_quotas ALTER COLUMN id SET DEFAULT nextval('project_quotas_id_seq'::regclass);
|
1276
|
+
|
1277
|
+
|
1278
|
+
--
|
1279
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1280
|
+
--
|
1281
|
+
|
1282
|
+
ALTER TABLE ONLY projects ALTER COLUMN id SET DEFAULT nextval('projects_id_seq'::regclass);
|
1283
|
+
|
1284
|
+
|
1285
|
+
--
|
1286
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1287
|
+
--
|
1288
|
+
|
1289
|
+
ALTER TABLE ONLY pull_requests ALTER COLUMN id SET DEFAULT nextval('pull_requests_id_seq'::regclass);
|
1290
|
+
|
1291
|
+
|
1292
|
+
--
|
1293
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1294
|
+
--
|
1295
|
+
|
1296
|
+
ALTER TABLE ONLY releases ALTER COLUMN id SET DEFAULT nextval('releases_id_seq'::regclass);
|
1297
|
+
|
1298
|
+
|
1299
|
+
--
|
1300
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1301
|
+
--
|
1302
|
+
|
1303
|
+
ALTER TABLE ONLY roadmap_commits ALTER COLUMN id SET DEFAULT nextval('roadmap_commits_id_seq'::regclass);
|
1304
|
+
|
1305
|
+
|
1306
|
+
--
|
1307
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1308
|
+
--
|
1309
|
+
|
1310
|
+
ALTER TABLE ONLY roadmap_milestones ALTER COLUMN id SET DEFAULT nextval('roadmap_milestones_id_seq'::regclass);
|
1311
|
+
|
1312
|
+
|
1313
|
+
--
|
1314
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1315
|
+
--
|
1316
|
+
|
1317
|
+
ALTER TABLE ONLY roadmaps ALTER COLUMN id SET DEFAULT nextval('roadmaps_id_seq'::regclass);
|
1318
|
+
|
1319
|
+
|
1320
|
+
--
|
1321
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1322
|
+
--
|
1323
|
+
|
1324
|
+
ALTER TABLE ONLY roles ALTER COLUMN id SET DEFAULT nextval('roles_id_seq'::regclass);
|
1325
|
+
|
1326
|
+
|
1327
|
+
--
|
1328
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1329
|
+
--
|
1330
|
+
|
1331
|
+
ALTER TABLE ONLY settings ALTER COLUMN id SET DEFAULT nextval('settings_id_seq'::regclass);
|
1332
|
+
|
1333
|
+
|
1334
|
+
--
|
1335
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1336
|
+
--
|
1337
|
+
|
1338
|
+
ALTER TABLE ONLY sprints ALTER COLUMN id SET DEFAULT nextval('sprints_id_seq'::regclass);
|
1339
|
+
|
1340
|
+
|
1341
|
+
--
|
1342
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1343
|
+
--
|
1344
|
+
|
1345
|
+
ALTER TABLE ONLY tasks ALTER COLUMN id SET DEFAULT nextval('tasks_id_seq'::regclass);
|
1346
|
+
|
1347
|
+
|
1348
|
+
--
|
1349
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1350
|
+
--
|
1351
|
+
|
1352
|
+
ALTER TABLE ONLY test_errors ALTER COLUMN id SET DEFAULT nextval('test_errors_id_seq'::regclass);
|
1353
|
+
|
1354
|
+
|
1355
|
+
--
|
1356
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1357
|
+
--
|
1358
|
+
|
1359
|
+
ALTER TABLE ONLY test_results ALTER COLUMN id SET DEFAULT nextval('test_results_id_seq'::regclass);
|
1360
|
+
|
1361
|
+
|
1362
|
+
--
|
1363
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1364
|
+
--
|
1365
|
+
|
1366
|
+
ALTER TABLE ONLY test_runs ALTER COLUMN id SET DEFAULT nextval('test_runs_id_seq'::regclass);
|
1367
|
+
|
1368
|
+
|
1369
|
+
--
|
1370
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1371
|
+
--
|
1372
|
+
|
1373
|
+
ALTER TABLE ONLY testing_notes ALTER COLUMN id SET DEFAULT nextval('testing_notes_id_seq'::regclass);
|
1374
|
+
|
1375
|
+
|
1376
|
+
--
|
1377
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1378
|
+
--
|
1379
|
+
|
1380
|
+
ALTER TABLE ONLY tests ALTER COLUMN id SET DEFAULT nextval('tests_id_seq'::regclass);
|
1381
|
+
|
1382
|
+
|
1383
|
+
--
|
1384
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1385
|
+
--
|
1386
|
+
|
1387
|
+
ALTER TABLE ONLY ticket_queues ALTER COLUMN id SET DEFAULT nextval('ticket_queues_id_seq'::regclass);
|
1388
|
+
|
1389
|
+
|
1390
|
+
--
|
1391
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1392
|
+
--
|
1393
|
+
|
1394
|
+
ALTER TABLE ONLY tickets ALTER COLUMN id SET DEFAULT nextval('tickets_id_seq'::regclass);
|
1395
|
+
|
1396
|
+
|
1397
|
+
--
|
1398
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1399
|
+
--
|
1400
|
+
|
1401
|
+
ALTER TABLE ONLY user_credentials ALTER COLUMN id SET DEFAULT nextval('user_credentials_id_seq'::regclass);
|
1402
|
+
|
1403
|
+
|
1404
|
+
--
|
1405
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1406
|
+
--
|
1407
|
+
|
1408
|
+
ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
|
1409
|
+
|
1410
|
+
|
1411
|
+
--
|
1412
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1413
|
+
--
|
1414
|
+
|
1415
|
+
ALTER TABLE ONLY value_statements ALTER COLUMN id SET DEFAULT nextval('value_statements_id_seq'::regclass);
|
1416
|
+
|
1417
|
+
|
1418
|
+
--
|
1419
|
+
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
1420
|
+
--
|
1421
|
+
|
1422
|
+
ALTER TABLE ONLY versions ALTER COLUMN id SET DEFAULT nextval('versions_id_seq'::regclass);
|
1423
|
+
|
1424
|
+
|
1425
|
+
--
|
1426
|
+
-- Name: commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1427
|
+
--
|
1428
|
+
|
1429
|
+
ALTER TABLE ONLY commits
|
1430
|
+
ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
|
1431
|
+
|
1432
|
+
|
1433
|
+
--
|
1434
|
+
-- Name: consumer_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1435
|
+
--
|
1436
|
+
|
1437
|
+
ALTER TABLE ONLY consumer_tokens
|
1438
|
+
ADD CONSTRAINT consumer_tokens_pkey PRIMARY KEY (id);
|
1439
|
+
|
1440
|
+
|
1441
|
+
--
|
1442
|
+
-- Name: deploys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1443
|
+
--
|
1444
|
+
|
1445
|
+
ALTER TABLE ONLY deploys
|
1446
|
+
ADD CONSTRAINT deploys_pkey PRIMARY KEY (id);
|
1447
|
+
|
1448
|
+
|
1449
|
+
--
|
1450
|
+
-- Name: measurements_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1451
|
+
--
|
1452
|
+
|
1453
|
+
ALTER TABLE ONLY measurements
|
1454
|
+
ADD CONSTRAINT measurements_pkey PRIMARY KEY (id);
|
1455
|
+
|
1456
|
+
|
1457
|
+
--
|
1458
|
+
-- Name: milestone_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1459
|
+
--
|
1460
|
+
|
1461
|
+
ALTER TABLE ONLY milestone_versions
|
1462
|
+
ADD CONSTRAINT milestone_versions_pkey PRIMARY KEY (id);
|
1463
|
+
|
1464
|
+
|
1465
|
+
--
|
1466
|
+
-- Name: milestones_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1467
|
+
--
|
1468
|
+
|
1469
|
+
ALTER TABLE ONLY milestones
|
1470
|
+
ADD CONSTRAINT milestones_pkey PRIMARY KEY (id);
|
1471
|
+
|
1472
|
+
|
1473
|
+
--
|
1474
|
+
-- Name: project_quotas_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1475
|
+
--
|
1476
|
+
|
1477
|
+
ALTER TABLE ONLY project_quotas
|
1478
|
+
ADD CONSTRAINT project_quotas_pkey PRIMARY KEY (id);
|
1479
|
+
|
1480
|
+
|
1481
|
+
--
|
1482
|
+
-- Name: projects_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1483
|
+
--
|
1484
|
+
|
1485
|
+
ALTER TABLE ONLY projects
|
1486
|
+
ADD CONSTRAINT projects_pkey PRIMARY KEY (id);
|
1487
|
+
|
1488
|
+
|
1489
|
+
--
|
1490
|
+
-- Name: pull_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1491
|
+
--
|
1492
|
+
|
1493
|
+
ALTER TABLE ONLY pull_requests
|
1494
|
+
ADD CONSTRAINT pull_requests_pkey PRIMARY KEY (id);
|
1495
|
+
|
1496
|
+
|
1497
|
+
--
|
1498
|
+
-- Name: releases_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1499
|
+
--
|
1500
|
+
|
1501
|
+
ALTER TABLE ONLY releases
|
1502
|
+
ADD CONSTRAINT releases_pkey PRIMARY KEY (id);
|
1503
|
+
|
1504
|
+
|
1505
|
+
--
|
1506
|
+
-- Name: roadmap_commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1507
|
+
--
|
1508
|
+
|
1509
|
+
ALTER TABLE ONLY roadmap_commits
|
1510
|
+
ADD CONSTRAINT roadmap_commits_pkey PRIMARY KEY (id);
|
1511
|
+
|
1512
|
+
|
1513
|
+
--
|
1514
|
+
-- Name: roadmap_milestones_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1515
|
+
--
|
1516
|
+
|
1517
|
+
ALTER TABLE ONLY roadmap_milestones
|
1518
|
+
ADD CONSTRAINT roadmap_milestones_pkey PRIMARY KEY (id);
|
1519
|
+
|
1520
|
+
|
1521
|
+
--
|
1522
|
+
-- Name: roadmaps_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1523
|
+
--
|
1524
|
+
|
1525
|
+
ALTER TABLE ONLY roadmaps
|
1526
|
+
ADD CONSTRAINT roadmaps_pkey PRIMARY KEY (id);
|
1527
|
+
|
1528
|
+
|
1529
|
+
--
|
1530
|
+
-- Name: roles_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1531
|
+
--
|
1532
|
+
|
1533
|
+
ALTER TABLE ONLY roles
|
1534
|
+
ADD CONSTRAINT roles_pkey PRIMARY KEY (id);
|
1535
|
+
|
1536
|
+
|
1537
|
+
--
|
1538
|
+
-- Name: settings_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1539
|
+
--
|
1540
|
+
|
1541
|
+
ALTER TABLE ONLY settings
|
1542
|
+
ADD CONSTRAINT settings_pkey PRIMARY KEY (id);
|
1543
|
+
|
1544
|
+
|
1545
|
+
--
|
1546
|
+
-- Name: sprints_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1547
|
+
--
|
1548
|
+
|
1549
|
+
ALTER TABLE ONLY sprints
|
1550
|
+
ADD CONSTRAINT sprints_pkey PRIMARY KEY (id);
|
1551
|
+
|
1552
|
+
|
1553
|
+
--
|
1554
|
+
-- Name: tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1555
|
+
--
|
1556
|
+
|
1557
|
+
ALTER TABLE ONLY tasks
|
1558
|
+
ADD CONSTRAINT tasks_pkey PRIMARY KEY (id);
|
1559
|
+
|
1560
|
+
|
1561
|
+
--
|
1562
|
+
-- Name: test_errors_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1563
|
+
--
|
1564
|
+
|
1565
|
+
ALTER TABLE ONLY test_errors
|
1566
|
+
ADD CONSTRAINT test_errors_pkey PRIMARY KEY (id);
|
1567
|
+
|
1568
|
+
|
1569
|
+
--
|
1570
|
+
-- Name: test_results_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1571
|
+
--
|
1572
|
+
|
1573
|
+
ALTER TABLE ONLY test_results
|
1574
|
+
ADD CONSTRAINT test_results_pkey PRIMARY KEY (id);
|
1575
|
+
|
1576
|
+
|
1577
|
+
--
|
1578
|
+
-- Name: test_results_unique_constraint; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1579
|
+
--
|
1580
|
+
|
1581
|
+
ALTER TABLE ONLY test_results
|
1582
|
+
ADD CONSTRAINT test_results_unique_constraint UNIQUE (test_run_id, test_id);
|
1583
|
+
|
1584
|
+
|
1585
|
+
--
|
1586
|
+
-- Name: test_runs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1587
|
+
--
|
1588
|
+
|
1589
|
+
ALTER TABLE ONLY test_runs
|
1590
|
+
ADD CONSTRAINT test_runs_pkey PRIMARY KEY (id);
|
1591
|
+
|
1592
|
+
|
1593
|
+
--
|
1594
|
+
-- Name: testing_notes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1595
|
+
--
|
1596
|
+
|
1597
|
+
ALTER TABLE ONLY testing_notes
|
1598
|
+
ADD CONSTRAINT testing_notes_pkey PRIMARY KEY (id);
|
1599
|
+
|
1600
|
+
|
1601
|
+
--
|
1602
|
+
-- Name: tests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1603
|
+
--
|
1604
|
+
|
1605
|
+
ALTER TABLE ONLY tests
|
1606
|
+
ADD CONSTRAINT tests_pkey PRIMARY KEY (id);
|
1607
|
+
|
1608
|
+
|
1609
|
+
--
|
1610
|
+
-- Name: tests_unique_constraint; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1611
|
+
--
|
1612
|
+
|
1613
|
+
ALTER TABLE ONLY tests
|
1614
|
+
ADD CONSTRAINT tests_unique_constraint UNIQUE (project_id, suite, name);
|
1615
|
+
|
1616
|
+
|
1617
|
+
--
|
1618
|
+
-- Name: ticket_queues_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1619
|
+
--
|
1620
|
+
|
1621
|
+
ALTER TABLE ONLY ticket_queues
|
1622
|
+
ADD CONSTRAINT ticket_queues_pkey PRIMARY KEY (id);
|
1623
|
+
|
1624
|
+
|
1625
|
+
--
|
1626
|
+
-- Name: tickets_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1627
|
+
--
|
1628
|
+
|
1629
|
+
ALTER TABLE ONLY tickets
|
1630
|
+
ADD CONSTRAINT tickets_pkey PRIMARY KEY (id);
|
1631
|
+
|
1632
|
+
|
1633
|
+
--
|
1634
|
+
-- Name: user_credentials_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1635
|
+
--
|
1636
|
+
|
1637
|
+
ALTER TABLE ONLY user_credentials
|
1638
|
+
ADD CONSTRAINT user_credentials_pkey PRIMARY KEY (id);
|
1639
|
+
|
1640
|
+
|
1641
|
+
--
|
1642
|
+
-- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1643
|
+
--
|
1644
|
+
|
1645
|
+
ALTER TABLE ONLY users
|
1646
|
+
ADD CONSTRAINT users_pkey PRIMARY KEY (id);
|
1647
|
+
|
1648
|
+
|
1649
|
+
--
|
1650
|
+
-- Name: value_statements_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1651
|
+
--
|
1652
|
+
|
1653
|
+
ALTER TABLE ONLY value_statements
|
1654
|
+
ADD CONSTRAINT value_statements_pkey PRIMARY KEY (id);
|
1655
|
+
|
1656
|
+
|
1657
|
+
--
|
1658
|
+
-- Name: versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
1659
|
+
--
|
1660
|
+
|
1661
|
+
ALTER TABLE ONLY versions
|
1662
|
+
ADD CONSTRAINT versions_pkey PRIMARY KEY (id);
|
1663
|
+
|
1664
|
+
|
1665
|
+
--
|
1666
|
+
-- Name: index_commits_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1667
|
+
--
|
1668
|
+
|
1669
|
+
CREATE INDEX index_commits_on_project_id ON commits USING btree (project_id);
|
1670
|
+
|
1671
|
+
|
1672
|
+
--
|
1673
|
+
-- Name: index_commits_on_sha; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1674
|
+
--
|
1675
|
+
|
1676
|
+
CREATE UNIQUE INDEX index_commits_on_sha ON commits USING btree (sha);
|
1677
|
+
|
1678
|
+
|
1679
|
+
--
|
1680
|
+
-- Name: index_commits_on_unreachable; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1681
|
+
--
|
1682
|
+
|
1683
|
+
CREATE INDEX index_commits_on_unreachable ON commits USING btree (unreachable);
|
1684
|
+
|
1685
|
+
|
1686
|
+
--
|
1687
|
+
-- Name: index_commits_pull_requests_on_commit_id_and_pull_request_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1688
|
+
--
|
1689
|
+
|
1690
|
+
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);
|
1691
|
+
|
1692
|
+
|
1693
|
+
--
|
1694
|
+
-- Name: index_commits_releases_on_commit_id_and_release_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1695
|
+
--
|
1696
|
+
|
1697
|
+
CREATE UNIQUE INDEX index_commits_releases_on_commit_id_and_release_id ON commits_releases USING btree (commit_id, release_id);
|
1698
|
+
|
1699
|
+
|
1700
|
+
--
|
1701
|
+
-- Name: index_commits_tasks_on_commit_id_and_task_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1702
|
+
--
|
1703
|
+
|
1704
|
+
CREATE UNIQUE INDEX index_commits_tasks_on_commit_id_and_task_id ON commits_tasks USING btree (commit_id, task_id);
|
1705
|
+
|
1706
|
+
|
1707
|
+
--
|
1708
|
+
-- Name: index_commits_tickets_on_commit_id_and_ticket_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1709
|
+
--
|
1710
|
+
|
1711
|
+
CREATE UNIQUE INDEX index_commits_tickets_on_commit_id_and_ticket_id ON commits_tickets USING btree (commit_id, ticket_id);
|
1712
|
+
|
1713
|
+
|
1714
|
+
--
|
1715
|
+
-- Name: index_commits_users_on_commit_id_and_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1716
|
+
--
|
1717
|
+
|
1718
|
+
CREATE UNIQUE INDEX index_commits_users_on_commit_id_and_user_id ON commits_users USING btree (commit_id, user_id);
|
1719
|
+
|
1720
|
+
|
1721
|
+
--
|
1722
|
+
-- Name: index_consumer_tokens_on_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1723
|
+
--
|
1724
|
+
|
1725
|
+
CREATE UNIQUE INDEX index_consumer_tokens_on_token ON consumer_tokens USING btree (token);
|
1726
|
+
|
1727
|
+
|
1728
|
+
--
|
1729
|
+
-- Name: index_deploys_on_environment_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1730
|
+
--
|
1731
|
+
|
1732
|
+
CREATE INDEX index_deploys_on_environment_name ON deploys USING btree (environment_name);
|
1733
|
+
|
1734
|
+
|
1735
|
+
--
|
1736
|
+
-- Name: index_deploys_on_project_id_and_environment_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1737
|
+
--
|
1738
|
+
|
1739
|
+
CREATE INDEX index_deploys_on_project_id_and_environment_name ON deploys USING btree (project_id, environment_name);
|
1740
|
+
|
1741
|
+
|
1742
|
+
--
|
1743
|
+
-- Name: index_measurements_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1744
|
+
--
|
1745
|
+
|
1746
|
+
CREATE INDEX index_measurements_on_name ON measurements USING btree (name);
|
1747
|
+
|
1748
|
+
|
1749
|
+
--
|
1750
|
+
-- Name: index_measurements_on_subject_type_and_subject_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1751
|
+
--
|
1752
|
+
|
1753
|
+
CREATE INDEX index_measurements_on_subject_type_and_subject_id ON measurements USING btree (subject_type, subject_id);
|
1754
|
+
|
1755
|
+
|
1756
|
+
--
|
1757
|
+
-- Name: index_measurements_on_taken_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1758
|
+
--
|
1759
|
+
|
1760
|
+
CREATE INDEX index_measurements_on_taken_at ON measurements USING btree (taken_at);
|
1761
|
+
|
1762
|
+
|
1763
|
+
--
|
1764
|
+
-- Name: index_measurements_on_taken_on; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1765
|
+
--
|
1766
|
+
|
1767
|
+
CREATE INDEX index_measurements_on_taken_on ON measurements USING btree (taken_on);
|
1768
|
+
|
1769
|
+
|
1770
|
+
--
|
1771
|
+
-- Name: index_milestone_versions_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1772
|
+
--
|
1773
|
+
|
1774
|
+
CREATE INDEX index_milestone_versions_on_created_at ON milestone_versions USING btree (created_at);
|
1775
|
+
|
1776
|
+
|
1777
|
+
--
|
1778
|
+
-- Name: index_milestone_versions_on_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1779
|
+
--
|
1780
|
+
|
1781
|
+
CREATE INDEX index_milestone_versions_on_number ON milestone_versions USING btree (number);
|
1782
|
+
|
1783
|
+
|
1784
|
+
--
|
1785
|
+
-- Name: index_milestone_versions_on_roadmap_commit_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1786
|
+
--
|
1787
|
+
|
1788
|
+
CREATE INDEX index_milestone_versions_on_roadmap_commit_id ON milestone_versions USING btree (roadmap_commit_id);
|
1789
|
+
|
1790
|
+
|
1791
|
+
--
|
1792
|
+
-- Name: index_milestone_versions_on_versioned_id_and_versioned_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1793
|
+
--
|
1794
|
+
|
1795
|
+
CREATE INDEX index_milestone_versions_on_versioned_id_and_versioned_type ON milestone_versions USING btree (versioned_id, versioned_type);
|
1796
|
+
|
1797
|
+
|
1798
|
+
--
|
1799
|
+
-- Name: index_milestones_on_destroyed_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1800
|
+
--
|
1801
|
+
|
1802
|
+
CREATE INDEX index_milestones_on_destroyed_at ON milestones USING btree (destroyed_at);
|
1803
|
+
|
1804
|
+
|
1805
|
+
--
|
1806
|
+
-- Name: index_milestones_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1807
|
+
--
|
1808
|
+
|
1809
|
+
CREATE INDEX index_milestones_on_project_id ON milestones USING btree (project_id);
|
1810
|
+
|
1811
|
+
|
1812
|
+
--
|
1813
|
+
-- Name: index_project_quotas_on_project_id_and_week; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1814
|
+
--
|
1815
|
+
|
1816
|
+
CREATE UNIQUE INDEX index_project_quotas_on_project_id_and_week ON project_quotas USING btree (project_id, week);
|
1817
|
+
|
1818
|
+
|
1819
|
+
--
|
1820
|
+
-- Name: index_project_quotas_on_week; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1821
|
+
--
|
1822
|
+
|
1823
|
+
CREATE INDEX index_project_quotas_on_week ON project_quotas USING btree (week);
|
1824
|
+
|
1825
|
+
|
1826
|
+
--
|
1827
|
+
-- Name: index_projects_on_slug; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1828
|
+
--
|
1829
|
+
|
1830
|
+
CREATE UNIQUE INDEX index_projects_on_slug ON projects USING btree (slug);
|
1831
|
+
|
1832
|
+
|
1833
|
+
--
|
1834
|
+
-- Name: index_projects_roadmaps_on_project_id_and_roadmap_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1835
|
+
--
|
1836
|
+
|
1837
|
+
CREATE UNIQUE INDEX index_projects_roadmaps_on_project_id_and_roadmap_id ON projects_roadmaps USING btree (project_id, roadmap_id);
|
1838
|
+
|
1839
|
+
|
1840
|
+
--
|
1841
|
+
-- Name: index_pull_requests_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1842
|
+
--
|
1843
|
+
|
1844
|
+
CREATE INDEX index_pull_requests_on_project_id ON pull_requests USING btree (project_id);
|
1845
|
+
|
1846
|
+
|
1847
|
+
--
|
1848
|
+
-- Name: index_pull_requests_on_project_id_and_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1849
|
+
--
|
1850
|
+
|
1851
|
+
CREATE UNIQUE INDEX index_pull_requests_on_project_id_and_number ON pull_requests USING btree (project_id, number);
|
1852
|
+
|
1853
|
+
|
1854
|
+
--
|
1855
|
+
-- Name: index_releases_on_deploy_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1856
|
+
--
|
1857
|
+
|
1858
|
+
CREATE INDEX index_releases_on_deploy_id ON releases USING btree (deploy_id);
|
1859
|
+
|
1860
|
+
|
1861
|
+
--
|
1862
|
+
-- Name: index_releases_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1863
|
+
--
|
1864
|
+
|
1865
|
+
CREATE INDEX index_releases_on_project_id ON releases USING btree (project_id);
|
1866
|
+
|
1867
|
+
|
1868
|
+
--
|
1869
|
+
-- Name: index_releases_on_project_id_and_environment_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1870
|
+
--
|
1871
|
+
|
1872
|
+
CREATE INDEX index_releases_on_project_id_and_environment_name ON releases USING btree (project_id, environment_name);
|
1873
|
+
|
1874
|
+
|
1875
|
+
--
|
1876
|
+
-- Name: index_releases_on_search_vector; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1877
|
+
--
|
1878
|
+
|
1879
|
+
CREATE INDEX index_releases_on_search_vector ON releases USING gin (search_vector);
|
1880
|
+
|
1881
|
+
|
1882
|
+
--
|
1883
|
+
-- Name: index_releases_tasks_on_release_id_and_task_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1884
|
+
--
|
1885
|
+
|
1886
|
+
CREATE UNIQUE INDEX index_releases_tasks_on_release_id_and_task_id ON releases_tasks USING btree (release_id, task_id);
|
1887
|
+
|
1888
|
+
|
1889
|
+
--
|
1890
|
+
-- Name: index_releases_tickets_on_release_id_and_ticket_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1891
|
+
--
|
1892
|
+
|
1893
|
+
CREATE UNIQUE INDEX index_releases_tickets_on_release_id_and_ticket_id ON releases_tickets USING btree (release_id, ticket_id);
|
1894
|
+
|
1895
|
+
|
1896
|
+
--
|
1897
|
+
-- Name: index_roadmap_milestones_on_milestone_id_and_roadmap_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1898
|
+
--
|
1899
|
+
|
1900
|
+
CREATE UNIQUE INDEX index_roadmap_milestones_on_milestone_id_and_roadmap_id ON roadmap_milestones USING btree (milestone_id, roadmap_id);
|
1901
|
+
|
1902
|
+
|
1903
|
+
--
|
1904
|
+
-- Name: index_roles_on_user_id_and_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1905
|
+
--
|
1906
|
+
|
1907
|
+
CREATE INDEX index_roles_on_user_id_and_project_id ON roles USING btree (user_id, project_id);
|
1908
|
+
|
1909
|
+
|
1910
|
+
--
|
1911
|
+
-- Name: index_roles_on_user_id_and_project_id_and_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1912
|
+
--
|
1913
|
+
|
1914
|
+
CREATE INDEX index_roles_on_user_id_and_project_id_and_name ON roles USING btree (user_id, project_id, name);
|
1915
|
+
|
1916
|
+
|
1917
|
+
--
|
1918
|
+
-- Name: index_sprints_on_end_date; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1919
|
+
--
|
1920
|
+
|
1921
|
+
CREATE UNIQUE INDEX index_sprints_on_end_date ON sprints USING btree (end_date);
|
1922
|
+
|
1923
|
+
|
1924
|
+
--
|
1925
|
+
-- Name: index_sprints_tasks_on_sprint_id_and_task_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1926
|
+
--
|
1927
|
+
|
1928
|
+
CREATE UNIQUE INDEX index_sprints_tasks_on_sprint_id_and_task_id ON sprints_tasks USING btree (sprint_id, task_id);
|
1929
|
+
|
1930
|
+
|
1931
|
+
--
|
1932
|
+
-- Name: index_tasks_on_ticket_id_and_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1933
|
+
--
|
1934
|
+
|
1935
|
+
CREATE UNIQUE INDEX index_tasks_on_ticket_id_and_number ON tasks USING btree (ticket_id, number);
|
1936
|
+
|
1937
|
+
|
1938
|
+
--
|
1939
|
+
-- Name: index_test_errors_on_sha; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1940
|
+
--
|
1941
|
+
|
1942
|
+
CREATE UNIQUE INDEX index_test_errors_on_sha ON test_errors USING btree (sha);
|
1943
|
+
|
1944
|
+
|
1945
|
+
--
|
1946
|
+
-- Name: index_test_results_on_test_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1947
|
+
--
|
1948
|
+
|
1949
|
+
CREATE INDEX index_test_results_on_test_id ON test_results USING btree (test_id);
|
1950
|
+
|
1951
|
+
|
1952
|
+
--
|
1953
|
+
-- Name: index_test_results_on_test_run_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1954
|
+
--
|
1955
|
+
|
1956
|
+
CREATE INDEX index_test_results_on_test_run_id ON test_results USING btree (test_run_id);
|
1957
|
+
|
1958
|
+
|
1959
|
+
--
|
1960
|
+
-- Name: index_test_runs_on_commit_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1961
|
+
--
|
1962
|
+
|
1963
|
+
CREATE UNIQUE INDEX index_test_runs_on_commit_id ON test_runs USING btree (commit_id);
|
1964
|
+
|
1965
|
+
|
1966
|
+
--
|
1967
|
+
-- Name: index_test_runs_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1968
|
+
--
|
1969
|
+
|
1970
|
+
CREATE INDEX index_test_runs_on_project_id ON test_runs USING btree (project_id);
|
1971
|
+
|
1972
|
+
|
1973
|
+
--
|
1974
|
+
-- Name: index_test_runs_on_sha; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1975
|
+
--
|
1976
|
+
|
1977
|
+
CREATE UNIQUE INDEX index_test_runs_on_sha ON test_runs USING btree (sha);
|
1978
|
+
|
1979
|
+
|
1980
|
+
--
|
1981
|
+
-- Name: index_testing_notes_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1982
|
+
--
|
1983
|
+
|
1984
|
+
CREATE INDEX index_testing_notes_on_project_id ON testing_notes USING btree (project_id);
|
1985
|
+
|
1986
|
+
|
1987
|
+
--
|
1988
|
+
-- Name: index_testing_notes_on_ticket_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1989
|
+
--
|
1990
|
+
|
1991
|
+
CREATE INDEX index_testing_notes_on_ticket_id ON testing_notes USING btree (ticket_id);
|
1992
|
+
|
1993
|
+
|
1994
|
+
--
|
1995
|
+
-- Name: index_testing_notes_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1996
|
+
--
|
1997
|
+
|
1998
|
+
CREATE INDEX index_testing_notes_on_user_id ON testing_notes USING btree (user_id);
|
1999
|
+
|
2000
|
+
|
2001
|
+
--
|
2002
|
+
-- Name: index_tests_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2003
|
+
--
|
2004
|
+
|
2005
|
+
CREATE INDEX index_tests_on_project_id ON tests USING btree (project_id);
|
2006
|
+
|
2007
|
+
|
2008
|
+
--
|
2009
|
+
-- Name: index_ticket_queues_on_queue; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2010
|
+
--
|
2011
|
+
|
2012
|
+
CREATE INDEX index_ticket_queues_on_queue ON ticket_queues USING btree (queue);
|
2013
|
+
|
2014
|
+
|
2015
|
+
--
|
2016
|
+
-- Name: index_ticket_queues_on_ticket_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2017
|
+
--
|
2018
|
+
|
2019
|
+
CREATE INDEX index_ticket_queues_on_ticket_id ON ticket_queues USING btree (ticket_id);
|
2020
|
+
|
2021
|
+
|
2022
|
+
--
|
2023
|
+
-- Name: index_tickets_on_destroyed_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2024
|
+
--
|
2025
|
+
|
2026
|
+
CREATE INDEX index_tickets_on_destroyed_at ON tickets USING btree (destroyed_at);
|
2027
|
+
|
2028
|
+
|
2029
|
+
--
|
2030
|
+
-- Name: index_tickets_on_milestone_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2031
|
+
--
|
2032
|
+
|
2033
|
+
CREATE INDEX index_tickets_on_milestone_id ON tickets USING btree (milestone_id);
|
2034
|
+
|
2035
|
+
|
2036
|
+
--
|
2037
|
+
-- Name: index_tickets_on_resolution; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2038
|
+
--
|
2039
|
+
|
2040
|
+
CREATE INDEX index_tickets_on_resolution ON tickets USING btree (resolution);
|
2041
|
+
|
2042
|
+
|
2043
|
+
--
|
2044
|
+
-- Name: index_users_on_authentication_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2045
|
+
--
|
2046
|
+
|
2047
|
+
CREATE INDEX index_users_on_authentication_token ON users USING btree (authentication_token);
|
2048
|
+
|
2049
|
+
|
2050
|
+
--
|
2051
|
+
-- Name: index_users_on_email; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2052
|
+
--
|
2053
|
+
|
2054
|
+
CREATE UNIQUE INDEX index_users_on_email ON users USING btree (email);
|
2055
|
+
|
2056
|
+
|
2057
|
+
--
|
2058
|
+
-- Name: index_users_on_email_addresses; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2059
|
+
--
|
2060
|
+
|
2061
|
+
CREATE INDEX index_users_on_email_addresses ON users USING btree (email_addresses);
|
2062
|
+
|
2063
|
+
|
2064
|
+
--
|
2065
|
+
-- Name: index_users_on_invitation_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2066
|
+
--
|
2067
|
+
|
2068
|
+
CREATE INDEX index_users_on_invitation_token ON users USING btree (invitation_token);
|
2069
|
+
|
2070
|
+
|
2071
|
+
--
|
2072
|
+
-- Name: index_users_on_invited_by_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2073
|
+
--
|
2074
|
+
|
2075
|
+
CREATE INDEX index_users_on_invited_by_id ON users USING btree (invited_by_id);
|
2076
|
+
|
2077
|
+
|
2078
|
+
--
|
2079
|
+
-- Name: index_users_on_reset_password_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2080
|
+
--
|
2081
|
+
|
2082
|
+
CREATE UNIQUE INDEX index_users_on_reset_password_token ON users USING btree (reset_password_token);
|
2083
|
+
|
2084
|
+
|
2085
|
+
--
|
2086
|
+
-- Name: index_versions_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2087
|
+
--
|
2088
|
+
|
2089
|
+
CREATE INDEX index_versions_on_created_at ON versions USING btree (created_at);
|
2090
|
+
|
2091
|
+
|
2092
|
+
--
|
2093
|
+
-- Name: index_versions_on_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2094
|
+
--
|
2095
|
+
|
2096
|
+
CREATE INDEX index_versions_on_number ON versions USING btree (number);
|
2097
|
+
|
2098
|
+
|
2099
|
+
--
|
2100
|
+
-- Name: index_versions_on_tag; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2101
|
+
--
|
2102
|
+
|
2103
|
+
CREATE INDEX index_versions_on_tag ON versions USING btree (tag);
|
2104
|
+
|
2105
|
+
|
2106
|
+
--
|
2107
|
+
-- Name: index_versions_on_user_id_and_user_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2108
|
+
--
|
2109
|
+
|
2110
|
+
CREATE INDEX index_versions_on_user_id_and_user_type ON versions USING btree (user_id, user_type);
|
2111
|
+
|
2112
|
+
|
2113
|
+
--
|
2114
|
+
-- Name: index_versions_on_user_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2115
|
+
--
|
2116
|
+
|
2117
|
+
CREATE INDEX index_versions_on_user_name ON versions USING btree (user_name);
|
2118
|
+
|
2119
|
+
|
2120
|
+
--
|
2121
|
+
-- Name: index_versions_on_versioned_id_and_versioned_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2122
|
+
--
|
2123
|
+
|
2124
|
+
CREATE INDEX index_versions_on_versioned_id_and_versioned_type ON versions USING btree (versioned_id, versioned_type);
|
2125
|
+
|
2126
|
+
|
2127
|
+
--
|
2128
|
+
-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
2129
|
+
--
|
2130
|
+
|
2131
|
+
CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
|
2132
|
+
|
2133
|
+
|
2134
|
+
--
|
2135
|
+
-- PostgreSQL database dump complete
|
2136
|
+
--
|
2137
|
+
|
2138
|
+
SET search_path TO "$user",public;
|
2139
|
+
|
2140
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324185914');
|
2141
|
+
|
2142
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324202224');
|
2143
|
+
|
2144
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324212848');
|
2145
|
+
|
2146
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324212946');
|
2147
|
+
|
2148
|
+
INSERT INTO schema_migrations (version) VALUES ('20120324230038');
|
2149
|
+
|
2150
|
+
INSERT INTO schema_migrations (version) VALUES ('20120406185643');
|
2151
|
+
|
2152
|
+
INSERT INTO schema_migrations (version) VALUES ('20120408155047');
|
2153
|
+
|
2154
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417175450');
|
2155
|
+
|
2156
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417175841');
|
2157
|
+
|
2158
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417190504');
|
2159
|
+
|
2160
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417195313');
|
2161
|
+
|
2162
|
+
INSERT INTO schema_migrations (version) VALUES ('20120417195433');
|
2163
|
+
|
2164
|
+
INSERT INTO schema_migrations (version) VALUES ('20120424212706');
|
2165
|
+
|
2166
|
+
INSERT INTO schema_migrations (version) VALUES ('20120501230243');
|
2167
|
+
|
2168
|
+
INSERT INTO schema_migrations (version) VALUES ('20120501231817');
|
2169
|
+
|
2170
|
+
INSERT INTO schema_migrations (version) VALUES ('20120501231948');
|
2171
|
+
|
2172
|
+
INSERT INTO schema_migrations (version) VALUES ('20120504143615');
|
2173
|
+
|
2174
|
+
INSERT INTO schema_migrations (version) VALUES ('20120525013703');
|
2175
|
+
|
2176
|
+
INSERT INTO schema_migrations (version) VALUES ('20120607124115');
|
2177
|
+
|
2178
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626140242');
|
2179
|
+
|
2180
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626150333');
|
2181
|
+
|
2182
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626151320');
|
2183
|
+
|
2184
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626152020');
|
2185
|
+
|
2186
|
+
INSERT INTO schema_migrations (version) VALUES ('20120626152949');
|
2187
|
+
|
2188
|
+
INSERT INTO schema_migrations (version) VALUES ('20120715230526');
|
2189
|
+
|
2190
|
+
INSERT INTO schema_migrations (version) VALUES ('20120715230922');
|
2191
|
+
|
2192
|
+
INSERT INTO schema_migrations (version) VALUES ('20120716010743');
|
2193
|
+
|
2194
|
+
INSERT INTO schema_migrations (version) VALUES ('20120726212620');
|
2195
|
+
|
2196
|
+
INSERT INTO schema_migrations (version) VALUES ('20120726231754');
|
2197
|
+
|
2198
|
+
INSERT INTO schema_migrations (version) VALUES ('20120804003344');
|
2199
|
+
|
2200
|
+
INSERT INTO schema_migrations (version) VALUES ('20120823025935');
|
2201
|
+
|
2202
|
+
INSERT INTO schema_migrations (version) VALUES ('20120826022643');
|
2203
|
+
|
2204
|
+
INSERT INTO schema_migrations (version) VALUES ('20120827190634');
|
2205
|
+
|
2206
|
+
INSERT INTO schema_migrations (version) VALUES ('20120913020218');
|
2207
|
+
|
2208
|
+
INSERT INTO schema_migrations (version) VALUES ('20120920023251');
|
2209
|
+
|
2210
|
+
INSERT INTO schema_migrations (version) VALUES ('20120922010212');
|
2211
|
+
|
2212
|
+
INSERT INTO schema_migrations (version) VALUES ('20121026014457');
|
2213
|
+
|
2214
|
+
INSERT INTO schema_migrations (version) VALUES ('20121027160548');
|
2215
|
+
|
2216
|
+
INSERT INTO schema_migrations (version) VALUES ('20121027171215');
|
2217
|
+
|
2218
|
+
INSERT INTO schema_migrations (version) VALUES ('20121104233305');
|
2219
|
+
|
2220
|
+
INSERT INTO schema_migrations (version) VALUES ('20121126005019');
|
2221
|
+
|
2222
|
+
INSERT INTO schema_migrations (version) VALUES ('20121214025558');
|
2223
|
+
|
2224
|
+
INSERT INTO schema_migrations (version) VALUES ('20121219202734');
|
2225
|
+
|
2226
|
+
INSERT INTO schema_migrations (version) VALUES ('20121220031008');
|
2227
|
+
|
2228
|
+
INSERT INTO schema_migrations (version) VALUES ('20121222170917');
|
2229
|
+
|
2230
|
+
INSERT INTO schema_migrations (version) VALUES ('20121222223325');
|
2231
|
+
|
2232
|
+
INSERT INTO schema_migrations (version) VALUES ('20121222223635');
|
2233
|
+
|
2234
|
+
INSERT INTO schema_migrations (version) VALUES ('20121224212623');
|
2235
|
+
|
2236
|
+
INSERT INTO schema_migrations (version) VALUES ('20121225175106');
|
2237
|
+
|
2238
|
+
INSERT INTO schema_migrations (version) VALUES ('20121230173644');
|
2239
|
+
|
2240
|
+
INSERT INTO schema_migrations (version) VALUES ('20121230174234');
|
2241
|
+
|
2242
|
+
INSERT INTO schema_migrations (version) VALUES ('20130105200429');
|
2243
|
+
|
2244
|
+
INSERT INTO schema_migrations (version) VALUES ('20130106184327');
|
2245
|
+
|
2246
|
+
INSERT INTO schema_migrations (version) VALUES ('20130106185425');
|
2247
|
+
|
2248
|
+
INSERT INTO schema_migrations (version) VALUES ('20130119203853');
|
2249
|
+
|
2250
|
+
INSERT INTO schema_migrations (version) VALUES ('20130119204608');
|
2251
|
+
|
2252
|
+
INSERT INTO schema_migrations (version) VALUES ('20130119211540');
|
2253
|
+
|
2254
|
+
INSERT INTO schema_migrations (version) VALUES ('20130119212008');
|
2255
|
+
|
2256
|
+
INSERT INTO schema_migrations (version) VALUES ('20130120182026');
|
2257
|
+
|
2258
|
+
INSERT INTO schema_migrations (version) VALUES ('20130211015046');
|
2259
|
+
|
2260
|
+
INSERT INTO schema_migrations (version) VALUES ('20130302205014');
|
2261
|
+
|
2262
|
+
INSERT INTO schema_migrations (version) VALUES ('20130306023456');
|
2263
|
+
|
2264
|
+
INSERT INTO schema_migrations (version) VALUES ('20130306023613');
|
2265
|
+
|
2266
|
+
INSERT INTO schema_migrations (version) VALUES ('20130312224911');
|
2267
|
+
|
2268
|
+
INSERT INTO schema_migrations (version) VALUES ('20130319003918');
|
2269
|
+
|
2270
|
+
INSERT INTO schema_migrations (version) VALUES ('20130407195450');
|
2271
|
+
|
2272
|
+
INSERT INTO schema_migrations (version) VALUES ('20130407200624');
|
2273
|
+
|
2274
|
+
INSERT INTO schema_migrations (version) VALUES ('20130407220039');
|
2275
|
+
|
2276
|
+
INSERT INTO schema_migrations (version) VALUES ('20130407220937');
|
2277
|
+
|
2278
|
+
INSERT INTO schema_migrations (version) VALUES ('20130416020627');
|
2279
|
+
|
2280
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420151334');
|
2281
|
+
|
2282
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420155332');
|
2283
|
+
|
2284
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420172322');
|
2285
|
+
|
2286
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420174002');
|
2287
|
+
|
2288
|
+
INSERT INTO schema_migrations (version) VALUES ('20130420174126');
|
2289
|
+
|
2290
|
+
INSERT INTO schema_migrations (version) VALUES ('20130427223925');
|
2291
|
+
|
2292
|
+
INSERT INTO schema_migrations (version) VALUES ('20130428005808');
|
2293
|
+
|
2294
|
+
INSERT INTO schema_migrations (version) VALUES ('20130504014802');
|
2295
|
+
|
2296
|
+
INSERT INTO schema_migrations (version) VALUES ('20130504135741');
|
2297
|
+
|
2298
|
+
INSERT INTO schema_migrations (version) VALUES ('20130505144446');
|
2299
|
+
|
2300
|
+
INSERT INTO schema_migrations (version) VALUES ('20130505162039');
|
2301
|
+
|
2302
|
+
INSERT INTO schema_migrations (version) VALUES ('20130505212838');
|
2303
|
+
|
2304
|
+
INSERT INTO schema_migrations (version) VALUES ('20130518224352');
|
2305
|
+
|
2306
|
+
INSERT INTO schema_migrations (version) VALUES ('20130518224406');
|
2307
|
+
|
2308
|
+
INSERT INTO schema_migrations (version) VALUES ('20130518224655');
|
2309
|
+
|
2310
|
+
INSERT INTO schema_migrations (version) VALUES ('20130518224722');
|
2311
|
+
|
2312
|
+
INSERT INTO schema_migrations (version) VALUES ('20130519163615');
|
2313
|
+
|
2314
|
+
INSERT INTO schema_migrations (version) VALUES ('20130525192607');
|
2315
|
+
|
2316
|
+
INSERT INTO schema_migrations (version) VALUES ('20130525222131');
|
2317
|
+
|
2318
|
+
INSERT INTO schema_migrations (version) VALUES ('20130526024851');
|
2319
|
+
|
2320
|
+
INSERT INTO schema_migrations (version) VALUES ('20130706141443');
|
2321
|
+
|
2322
|
+
INSERT INTO schema_migrations (version) VALUES ('20130710233849');
|
2323
|
+
|
2324
|
+
INSERT INTO schema_migrations (version) VALUES ('20130711004558');
|
2325
|
+
|
2326
|
+
INSERT INTO schema_migrations (version) VALUES ('20130711013156');
|
2327
|
+
|
2328
|
+
INSERT INTO schema_migrations (version) VALUES ('20130728191005');
|
2329
|
+
|
2330
|
+
INSERT INTO schema_migrations (version) VALUES ('20130806143651');
|
2331
|
+
|
2332
|
+
INSERT INTO schema_migrations (version) VALUES ('20130815232527');
|
2333
|
+
|
2334
|
+
INSERT INTO schema_migrations (version) VALUES ('20130914152419');
|
2335
|
+
|
2336
|
+
INSERT INTO schema_migrations (version) VALUES ('20130914155044');
|
2337
|
+
|
2338
|
+
INSERT INTO schema_migrations (version) VALUES ('20130921141449');
|
2339
|
+
|
2340
|
+
INSERT INTO schema_migrations (version) VALUES ('20131002005512');
|
2341
|
+
|
2342
|
+
INSERT INTO schema_migrations (version) VALUES ('20131002015547');
|
2343
|
+
|
2344
|
+
INSERT INTO schema_migrations (version) VALUES ('20131002145620');
|
2345
|
+
|
2346
|
+
INSERT INTO schema_migrations (version) VALUES ('20131003014023');
|
2347
|
+
|
2348
|
+
INSERT INTO schema_migrations (version) VALUES ('20131004015452');
|
2349
|
+
|
2350
|
+
INSERT INTO schema_migrations (version) VALUES ('20131004185618');
|
2351
|
+
|
2352
|
+
INSERT INTO schema_migrations (version) VALUES ('20131012152403');
|
2353
|
+
|
2354
|
+
INSERT INTO schema_migrations (version) VALUES ('20131013185636');
|
2355
|
+
|
2356
|
+
INSERT INTO schema_migrations (version) VALUES ('20131027214942');
|
2357
|
+
|
2358
|
+
INSERT INTO schema_migrations (version) VALUES ('20131112010815');
|
2359
|
+
|
2360
|
+
INSERT INTO schema_migrations (version) VALUES ('20131216014505');
|
2361
|
+
|
2362
|
+
INSERT INTO schema_migrations (version) VALUES ('20131223194246');
|
2363
|
+
|
2364
|
+
INSERT INTO schema_migrations (version) VALUES ('20140106212047');
|
2365
|
+
|
2366
|
+
INSERT INTO schema_migrations (version) VALUES ('20140106212305');
|
2367
|
+
|
2368
|
+
INSERT INTO schema_migrations (version) VALUES ('20140114014144');
|
2369
|
+
|
2370
|
+
INSERT INTO schema_migrations (version) VALUES ('20140217150735');
|
2371
|
+
|
2372
|
+
INSERT INTO schema_migrations (version) VALUES ('20140217160450');
|
2373
|
+
|
2374
|
+
INSERT INTO schema_migrations (version) VALUES ('20140217195942');
|
2375
|
+
|
2376
|
+
INSERT INTO schema_migrations (version) VALUES ('20140327020121');
|
2377
|
+
|
2378
|
+
INSERT INTO schema_migrations (version) VALUES ('20140401234330');
|
2379
|
+
|
2380
|
+
INSERT INTO schema_migrations (version) VALUES ('20140406183224');
|
2381
|
+
|
2382
|
+
INSERT INTO schema_migrations (version) VALUES ('20140406230121');
|
2383
|
+
|
2384
|
+
INSERT INTO schema_migrations (version) VALUES ('20140407010111');
|
2385
|
+
|
2386
|
+
INSERT INTO schema_migrations (version) VALUES ('20140411214022');
|
2387
|
+
|
2388
|
+
INSERT INTO schema_migrations (version) VALUES ('20140418133005');
|
2389
|
+
|
2390
|
+
INSERT INTO schema_migrations (version) VALUES ('20140419152214');
|
2391
|
+
|
2392
|
+
INSERT INTO schema_migrations (version) VALUES ('20140425141946');
|
2393
|
+
|
2394
|
+
INSERT INTO schema_migrations (version) VALUES ('20140427235508');
|
2395
|
+
|
2396
|
+
INSERT INTO schema_migrations (version) VALUES ('20140428023146');
|
2397
|
+
|
2398
|
+
INSERT INTO schema_migrations (version) VALUES ('20140429000919');
|
2399
|
+
|
2400
|
+
INSERT INTO schema_migrations (version) VALUES ('20140506032958');
|
2401
|
+
|
2402
|
+
INSERT INTO schema_migrations (version) VALUES ('20140506035755');
|
2403
|
+
|
2404
|
+
INSERT INTO schema_migrations (version) VALUES ('20140511024021');
|
2405
|
+
|
2406
|
+
INSERT INTO schema_migrations (version) VALUES ('20140515174322');
|
2407
|
+
|
2408
|
+
INSERT INTO schema_migrations (version) VALUES ('20140515200824');
|
2409
|
+
|
2410
|
+
INSERT INTO schema_migrations (version) VALUES ('20140516005310');
|
2411
|
+
|
2412
|
+
INSERT INTO schema_migrations (version) VALUES ('20140516012049');
|
2413
|
+
|
2414
|
+
INSERT INTO schema_migrations (version) VALUES ('20140517012626');
|
2415
|
+
|
2416
|
+
INSERT INTO schema_migrations (version) VALUES ('20140521014652');
|
2417
|
+
|
2418
|
+
INSERT INTO schema_migrations (version) VALUES ('20140526155845');
|
2419
|
+
|
2420
|
+
INSERT INTO schema_migrations (version) VALUES ('20140526162645');
|
2421
|
+
|
2422
|
+
INSERT INTO schema_migrations (version) VALUES ('20140526180608');
|
2423
|
+
|
2424
|
+
INSERT INTO schema_migrations (version) VALUES ('20140606232907');
|
2425
|
+
|
2426
|
+
INSERT INTO schema_migrations (version) VALUES ('20140724231918');
|
2427
|
+
|
2428
|
+
INSERT INTO schema_migrations (version) VALUES ('20140806233301');
|
2429
|
+
|
2430
|
+
INSERT INTO schema_migrations (version) VALUES ('20140810224209');
|
2431
|
+
|
2432
|
+
INSERT INTO schema_migrations (version) VALUES ('20140824194031');
|
2433
|
+
|
2434
|
+
INSERT INTO schema_migrations (version) VALUES ('20140824194526');
|
2435
|
+
|
2436
|
+
INSERT INTO schema_migrations (version) VALUES ('20140824211249');
|
2437
|
+
|
2438
|
+
INSERT INTO schema_migrations (version) VALUES ('20140831210254');
|
2439
|
+
|
2440
|
+
INSERT INTO schema_migrations (version) VALUES ('20140907012329');
|
2441
|
+
|
2442
|
+
INSERT INTO schema_migrations (version) VALUES ('20140907013836');
|
2443
|
+
|
2444
|
+
INSERT INTO schema_migrations (version) VALUES ('20140907212311');
|
2445
|
+
|
2446
|
+
INSERT INTO schema_migrations (version) VALUES ('20140916230539');
|
2447
|
+
|
2448
|
+
INSERT INTO schema_migrations (version) VALUES ('20140921190022');
|
2449
|
+
|
2450
|
+
INSERT INTO schema_migrations (version) VALUES ('20140921201441');
|
2451
|
+
|
2452
|
+
INSERT INTO schema_migrations (version) VALUES ('20140925021043');
|
2453
|
+
|
2454
|
+
INSERT INTO schema_migrations (version) VALUES ('20140927154728');
|
2455
|
+
|
2456
|
+
INSERT INTO schema_migrations (version) VALUES ('20140929004347');
|
2457
|
+
|
2458
|
+
INSERT INTO schema_migrations (version) VALUES ('20140929024130');
|
2459
|
+
|
2460
|
+
INSERT INTO schema_migrations (version) VALUES ('20141012023628');
|
2461
|
+
|
2462
|
+
INSERT INTO schema_migrations (version) VALUES ('20141027194819');
|
2463
|
+
|
2464
|
+
INSERT INTO schema_migrations (version) VALUES ('20141202004123');
|
2465
|
+
|
2466
|
+
INSERT INTO schema_migrations (version) VALUES ('20141226171730');
|
2467
|
+
|
2468
|
+
INSERT INTO schema_migrations (version) VALUES ('20150102192805');
|
2469
|
+
|
2470
|
+
INSERT INTO schema_migrations (version) VALUES ('20150116153233');
|
2471
|
+
|
2472
|
+
INSERT INTO schema_migrations (version) VALUES ('20150119154013');
|
2473
|
+
|
2474
|
+
INSERT INTO schema_migrations (version) VALUES ('20150119155145');
|
2475
|
+
|
2476
|
+
INSERT INTO schema_migrations (version) VALUES ('20150220215154');
|
2477
|
+
|
2478
|
+
INSERT INTO schema_migrations (version) VALUES ('20150222205616');
|
2479
|
+
|
2480
|
+
INSERT INTO schema_migrations (version) VALUES ('20150222214124');
|
2481
|
+
|
2482
|
+
INSERT INTO schema_migrations (version) VALUES ('20150223013721');
|
2483
|
+
|
2484
|
+
INSERT INTO schema_migrations (version) VALUES ('20150302153319');
|
2485
|
+
|
2486
|
+
INSERT INTO schema_migrations (version) VALUES ('20150323004452');
|
2487
|
+
|
2488
|
+
INSERT INTO schema_migrations (version) VALUES ('20150323011050');
|
2489
|
+
|
2490
|
+
INSERT INTO schema_migrations (version) VALUES ('20150524203903');
|
2491
|
+
|
2492
|
+
INSERT INTO schema_migrations (version) VALUES ('20150603203744');
|
2493
|
+
|
2494
|
+
INSERT INTO schema_migrations (version) VALUES ('20150805180939');
|
2495
|
+
|
2496
|
+
INSERT INTO schema_migrations (version) VALUES ('20150805233946');
|
2497
|
+
|
2498
|
+
INSERT INTO schema_migrations (version) VALUES ('20150806032230');
|
2499
|
+
|
2500
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808161729');
|
2501
|
+
|
2502
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808161805');
|
2503
|
+
|
2504
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808162928');
|
2505
|
+
|
2506
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808192103');
|
2507
|
+
|
2508
|
+
INSERT INTO schema_migrations (version) VALUES ('20150808193354');
|
2509
|
+
|
2510
|
+
INSERT INTO schema_migrations (version) VALUES ('20150809132417');
|
2511
|
+
|
2512
|
+
INSERT INTO schema_migrations (version) VALUES ('20150809201942');
|
2513
|
+
|
2514
|
+
INSERT INTO schema_migrations (version) VALUES ('20150817232311');
|
2515
|
+
|
2516
|
+
INSERT INTO schema_migrations (version) VALUES ('20150820023708');
|
2517
|
+
|
2518
|
+
INSERT INTO schema_migrations (version) VALUES ('20150902005758');
|
2519
|
+
|
2520
|
+
INSERT INTO schema_migrations (version) VALUES ('20150902010629');
|
2521
|
+
|
2522
|
+
INSERT INTO schema_migrations (version) VALUES ('20150902010853');
|
2523
|
+
|
2524
|
+
INSERT INTO schema_migrations (version) VALUES ('20150927014445');
|
2525
|
+
|
2526
|
+
INSERT INTO schema_migrations (version) VALUES ('20151108221505');
|
2527
|
+
|
2528
|
+
INSERT INTO schema_migrations (version) VALUES ('20151108223154');
|
2529
|
+
|
2530
|
+
INSERT INTO schema_migrations (version) VALUES ('20151108233510');
|
2531
|
+
|
2532
|
+
INSERT INTO schema_migrations (version) VALUES ('20151201042126');
|
2533
|
+
|
2534
|
+
INSERT INTO schema_migrations (version) VALUES ('20151202005557');
|
2535
|
+
|
2536
|
+
INSERT INTO schema_migrations (version) VALUES ('20151202011812');
|
2537
|
+
|
2538
|
+
INSERT INTO schema_migrations (version) VALUES ('20151205204922');
|
2539
|
+
|
2540
|
+
INSERT INTO schema_migrations (version) VALUES ('20151205214647');
|
2541
|
+
|
2542
|
+
INSERT INTO schema_migrations (version) VALUES ('20151209004458');
|
2543
|
+
|
2544
|
+
INSERT INTO schema_migrations (version) VALUES ('20151209030113');
|
2545
|
+
|
2546
|
+
INSERT INTO schema_migrations (version) VALUES ('20151226154901');
|
2547
|
+
|
2548
|
+
INSERT INTO schema_migrations (version) VALUES ('20151226155305');
|
2549
|
+
|
2550
|
+
INSERT INTO schema_migrations (version) VALUES ('20151228183704');
|
2551
|
+
|
2552
|
+
INSERT INTO schema_migrations (version) VALUES ('20160120145757');
|
2553
|
+
|
2554
|
+
INSERT INTO schema_migrations (version) VALUES ('20160206214746');
|
2555
|
+
|
2556
|
+
INSERT INTO schema_migrations (version) VALUES ('20160207154530');
|
2557
|
+
|