Created
May 19, 2011 16:16
-
-
Save adilakhter/981152 to your computer and use it in GitHub Desktop.
Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DatabaseSchema( | |
"example" | |
, [ Table( | |
"User" | |
, [ Column("id", UuidDBType()) | |
, Column("name", StringDBType()) | |
, Column("password", StringDBType()) | |
, Reference("url", "URL") | |
] | |
) | |
, Table( | |
"URL" | |
, [Column("id", UuidDBType()), Column("url", StringDBType())] | |
) | |
] | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Database example | |
Table User | |
id : uniqueidentifier | |
name : string | |
password : string | |
url -> URL | |
Table URL | |
id : uniqueidentifier | |
url : string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment