diff options
Diffstat (limited to 'db/migrate/20210610102410_add_protected_attribute_to_pending_builds.rb')
-rw-r--r-- | db/migrate/20210610102410_add_protected_attribute_to_pending_builds.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20210610102410_add_protected_attribute_to_pending_builds.rb b/db/migrate/20210610102410_add_protected_attribute_to_pending_builds.rb new file mode 100644 index 00000000000..026fa0d7043 --- /dev/null +++ b/db/migrate/20210610102410_add_protected_attribute_to_pending_builds.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class AddProtectedAttributeToPendingBuilds < ActiveRecord::Migration[6.1] + def change + add_column :ci_pending_builds, :protected, :boolean, null: false, default: false + end +end |