wip
This commit is contained in:
61
sqlgen/test-files/TestParse/003.json
Normal file
61
sqlgen/test-files/TestParse/003.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"Tables": [
|
||||
{
|
||||
"Name": "users",
|
||||
"Type": "User",
|
||||
"NoDelete": true,
|
||||
"Columns": [
|
||||
{
|
||||
"Name": "UserID",
|
||||
"Type": "string",
|
||||
"SqlName": "user_id",
|
||||
"PK": true
|
||||
},
|
||||
{
|
||||
"Name": "Email",
|
||||
"Type": "string",
|
||||
"SqlName": "email",
|
||||
"NoUpdate": true
|
||||
},
|
||||
{
|
||||
"Name": "Name",
|
||||
"Type": "string",
|
||||
"SqlName": "name",
|
||||
"NoInsert": true
|
||||
},
|
||||
{
|
||||
"Name": "Admin",
|
||||
"Type": "bool",
|
||||
"SqlName": "admin",
|
||||
"NoInsert": true,
|
||||
"NoUpdate": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "users_view",
|
||||
"Type": "UserView",
|
||||
"NoInsert": true,
|
||||
"NoUpdate": true,
|
||||
"NoDelete": true,
|
||||
"Columns": [
|
||||
{
|
||||
"Name": "UserID",
|
||||
"Type": "string",
|
||||
"SqlName": "user_id",
|
||||
"PK": true
|
||||
},
|
||||
{
|
||||
"Name": "Email",
|
||||
"Type": "string",
|
||||
"SqlName": "email"
|
||||
},
|
||||
{
|
||||
"Name": "Name",
|
||||
"Type": "string",
|
||||
"SqlName": "name"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user