diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-02 13:14:10 +0300 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-02 13:14:39 +0300 |
commit | 6950f38f830079199c382c974b51ad73048a6939 (patch) | |
tree | 80f4275ba2bfa0a4a8124362003be85d79debe1f /db | |
parent | 84f5aaa729d6286252602800a1f9e1bf1e5b47d3 (diff) |
Install k8s application with helm running inside the cluster
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20171031100710_create_clusters_kubernetes_helm_apps.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20171031100710_create_clusters_kubernetes_helm_apps.rb b/db/migrate/20171031100710_create_clusters_kubernetes_helm_apps.rb new file mode 100644 index 00000000000..93611bf8a12 --- /dev/null +++ b/db/migrate/20171031100710_create_clusters_kubernetes_helm_apps.rb @@ -0,0 +1,14 @@ +class CreateClustersKubernetesHelmApps < ActiveRecord::Migration + def change + create_table :clusters_kubernetes_helm_apps do |t| + t.integer :status, null: false + + t.datetime_with_timezone :created_at, null: false + t.datetime_with_timezone :updated_at, null: false + + t.references :service, index: true, null: false, foreign_key: { on_delete: :cascade } + t.string :version, null: false + t.text :status_reason + end + end +end |