Giter Club home page Giter Club logo

Comments (2)

boojack avatar boojack commented on May 17, 2024 3

是否可以在后端使用 UNIX 时间戳来存放日期,前端解析到本机时区呢?

正好目前正在做后台数据库关于 createdAt/updatedAt 和 ID 的重构,准备用时间戳来存 createdTs/updatedTs。

数据库若是要更新,请问如何迁移原有数据?

因为正处于开发中,我尽量保证较少的涉及到数据库 schema 变更,但如果有需要更改的话(如上),想到了几种方法:

  1. 新增数据的导出导入功能;
  2. 另起一个平台来可视化管理 .db 文件;(更倾向于这种)

在自建部署时,网页仍会加载 Google Analytics

这个可以去掉。

from memos.

rebron1900 avatar rebron1900 commented on May 17, 2024

个人觉得第一个方式更好,以后的导入导出肯定要做的。
第二个方案又要做一套交互逻辑觉得没这个必要,精力可以花在其他更重要的事上面,一个以后来做也可以

from memos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.