提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.base.db.dao.sqls; |
懒 |
2 |
|
|
3 |
import lombok.Getter; |
|
4 |
|
|
5 |
/** |
|
6 |
* 创建数据库的sql |
|
7 |
* |
|
8 |
* @author fengshuonan |
|
9 |
* @date 2019-07-16-13:06 |
|
10 |
*/ |
|
11 |
@Getter |
|
12 |
public class CreateDatabaseSql extends AbstractSql { |
|
13 |
|
|
14 |
@Override |
|
15 |
protected String mysql() { |
|
16 |
return "CREATE DATABASE IF NOT EXISTS ? DEFAULT CHARSET utf8 COLLATE utf8_general_ci;"; |
|
17 |
} |
|
18 |
|
|
19 |
@Override |
|
20 |
protected String sqlServer() { |
|
21 |
return ""; |
|
22 |
} |
|
23 |
|
|
24 |
@Override |
|
25 |
protected String pgSql() { |
|
26 |
return ""; |
|
27 |
} |
|
28 |
|
|
29 |
@Override |
|
30 |
protected String oracle() { |
|
31 |
return ""; |
|
32 |
} |
|
33 |
} |