Commit d0106cff authored by Rubén Dávila's avatar Rubén Dávila

Add cloud column to licenses

This column will be used to distinguish cloud licenses from
legacy/offline licenses.
parent 5f64a44d
---
title: 'Migration: Add cloud column to licenses'
merge_request: 57781
author:
type: added
# frozen_string_literal: true
class AddCloudToLicenses < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
add_column :licenses, :cloud, :boolean, default: false
end
end
a435a211d7e8b9a972323769299fc6e537fdeaa127f8db6ab53031901a51ec36
\ No newline at end of file
......@@ -14154,7 +14154,8 @@ CREATE TABLE licenses (
id integer NOT NULL,
data text NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone
updated_at timestamp without time zone,
cloud boolean DEFAULT false
);
CREATE SEQUENCE licenses_id_seq
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment