Add script to delete existing database (#44)

* Fix deployment creation time and hard coded title

* Add delete database script

* Use database file path from config file

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
This commit is contained in:
2024-02-01 11:37:57 +05:30
committed by Ashwin Phatak
co-authored by neeraj
parent 0feeb9408d
commit cfb4b4637c
6 changed files with 32 additions and 7 deletions
@@ -86,7 +86,7 @@ const DeploymentDetailsCard = ({
</div>
<div className="col-span-1 flex items-center">
<Typography color="gray" className="grow">
{relativeTimeMs(deployment.updatedAt)} ^ {deployment.author}
{relativeTimeMs(deployment.createdAt)} ^ {deployment.author}
</Typography>
<Menu placement="bottom-start">
<MenuHandler>
@@ -28,7 +28,7 @@ const DeploymentDialogBodyCard = ({
/>
)}
<Typography variant="small" className="text-black">
deployment title
{deployment.title}
</Typography>
<Typography variant="small">
^ {deployment.branch} ^ {deployment.commit.hash}{' '}
+1
View File
@@ -46,6 +46,7 @@ export interface DeploymentDetails {
message: string;
};
author: string;
createdAt: string;
updatedAt: string;
}