[Core] Fixed function time field (#258)

This commit is contained in:
qianmoQ 2023-02-28 00:17:30 +08:00 committed by GitHub
commit a48a591754
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 0 deletions

View File

@ -18,6 +18,8 @@
![GitHub contributors](https://img.shields.io/github/contributors-anon/EdurtIO/datacap?style=flat-square)
![GitHub last commit](https://img.shields.io/github/last-commit/EdurtIO/datacap?style=flat-square)
[![Security Status](https://www.murphysec.com/platform3/v3/badge/1629055559743877120.svg)](https://www.murphysec.com/accept?code=d1f9c5849bfdc699127f6141c8e0978c&type=1&from=2)
</div>
### What is datacap?
@ -138,6 +140,9 @@ Here are some of the major database solutions that are supported:
</a>&nbsp;
<a href="https://duckdb.org/" target="_blank">
<img src="assets/plugin/duckdb.png" alt="DuckDB" height="50" />
</a>&nbsp;
<a href="https://www.alibabacloud.com/zh/product/object-storage-service" target="_blank">
<img src="assets/plugin/alioss.png" alt="Aliyun OSS" height="50" />
</a>
</p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -0,0 +1,5 @@
ALTER TABLE `functions`
MODIFY COLUMN `create_time` DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
ALTER TABLE `functions`
MODIFY COLUMN `update_time` DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;

View File

@ -0,0 +1 @@
source schema/functions.sql;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB