瀏覽代碼

Fix schema for lab

David Ginzberg 7 年之前
父節點
當前提交
b307a434b6
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      src/main/resources/schema-h2.sql

+ 3
- 3
src/main/resources/schema-h2.sql 查看文件

2
 
2
 
3
 CREATE TABLE PERSON (
3
 CREATE TABLE PERSON (
4
 ID NUMBER(10,0) NOT NULL AUTO_INCREMENT,
4
 ID NUMBER(10,0) NOT NULL AUTO_INCREMENT,
5
-NAME VARCHAR2(255) DEFAULT NULL,
6
-AGE NUMBER(10, 0) DEFAULT NULL,
5
+FIRST_NAME VARCHAR2(255) DEFAULT NULL,
6
+LAST_NAME VARCHAR2(255) DEFAULT NULL,
7
 PRIMARY KEY (ID));
7
 PRIMARY KEY (ID));
8
 
8
 
9
 DROP SEQUENCE hibernate_sequence;
9
 DROP SEQUENCE hibernate_sequence;
10
 
10
 
11
-CREATE SEQUENCE hibernate_sequence;
11
+CREATE SEQUENCE hibernate_sequence;