Changes for page Your First Rest Project
Last modified by Steve Peery on 2013/09/06 11:02
From version 8.1
edited by Pascal Robert
on 2011/12/27 11:18
on 2011/12/27 11:18
Change comment:
There is no comment for this version
To version 7.1
edited by Pascal Robert
on 2011/12/27 10:23
on 2011/12/27 10:23
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,21 +12,21 @@ 12 12 13 13 BlogEntry will have the following columns: 14 14 15 -|= 16 -| 17 -| 18 -| 19 -| 20 -| 21 -| 15 +|=Column name|=Type|=Constraints 16 +|id|integer|primary key 17 +|title|string(255)| 18 +|content|string(4000)| 19 +|lastModified|timestamp| 20 +|creationDate|timestamp| 21 +|author|integer|relation with Author 22 22 23 23 Author will have the following columns: 24 24 25 -|= 26 -| 27 -| 28 -| 29 -| 30 -| )|25 +|=Column name|=Type|=Constraints 26 +|id|integer|primary key 27 +|firstName|string(100)| 28 +|lastName|string(100)| 29 +|email|string(150)|unique 30 +|passwd|string(16| 31 31 32 32 To create the database, we will first create a EOModel and use migrations to build the database on the file system (H2 will take care of creating the database file).