Skip to content
Snippets Groups Projects
Commit 8f4ae40e authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Add missing migrations

parent 249a9476
Branches
Tags
1 merge request!1652Add missing migrations
Pipeline #
class FixBuildTags < ActiveRecord::Migration
def change
execute("UPDATE taggings SET taggable_type='CommitStatus' WHERE taggable_type='Ci::Build'")
end
end
class FailBuildWithoutNames < ActiveRecord::Migration
def change
execute("UPDATE ci_builds SET status='failed' WHERE name IS NULL AND status='pending'")
end
end
Loading
@@ -11,7 +11,7 @@
Loading
@@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
   
ActiveRecord::Schema.define(version: 20151016195706) do ActiveRecord::Schema.define(version: 20151019111703) do
   
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment