gitlab-org--gitlab-foss/db/migrate/20171031100710_create_clust...

15 lines
459 B
Ruby
Raw Normal View History

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