Skip to content

Commit

Permalink
update mysql.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhang921 committed Sep 22, 2019
1 parent 360a7b9 commit 0f0ee37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql/mysql/mysql.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
DROP DATABASE IF EXISTS cboard;
CREATE DATABASE cboard CHARACTER SET utf8;
USE cboard;
SET SQL_MODE='ALLOW_INVALID_DATES';
SET SQL_SAFE_UPDATES = 0;

CREATE TABLE dashboard_board (
board_id bigint(20) NOT NULL AUTO_INCREMENT,
Expand Down
1 change: 1 addition & 0 deletions sql/mysql/patch/005.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
SET SQL_MODE='ALLOW_INVALID_DATES';
-- 升级0.4需要执行的
ALTER TABLE dashboard_dataset ADD create_time TIMESTAMP DEFAULT now();
ALTER TABLE dashboard_dataset ADD update_time TIMESTAMP;
Expand Down

0 comments on commit 0f0ee37

Please sign in to comment.