Skip to content

Commit 7a3d6f1

Browse files
author
Jose Ganora
committed
Fixes on helm chart to stamp current date time
Fixes to remove table logs with migrations
1 parent 7ace08f commit 7a3d6f1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

database/migrations/2023_01_23_155432_create_usage_logs_table.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,9 @@ public function up()
2121
$table->timestamp('timestamp');
2222
});
2323
}
24+
25+
public function down()
26+
{
27+
Schema::dropIfExists('usage_logs');
28+
}
2429
}

helm-chart/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
app: {{ .Chart.Name }}
1212
template:
1313
metadata:
14+
annotations:
15+
releaseTime: {{ now | date "2006-01-02 15:04:05Z07:00" | quote }}
1416
labels:
1517
app: {{ .Chart.Name }}
1618
spec:

0 commit comments

Comments
 (0)