PHP Classes
elePHPant
Icontem

File: tests/json/5.json

Recommend this page to a friend!
  Classes of Samuel Adeshina  >  Scripd  >  tests/json/5.json  >  Download  
File: tests/json/5.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Scripd
Generate database creation SQL queries from JSON
Author: By
Last change:
Date: 3 years ago
Size: 603 bytes
 

 

Contents

Class file image Download
{
	":database":{
		"name":"unify_school",
		":crud-action":"create",

		":table-group":[
			{
				":crud-action":"create",
				"name":"student",
				"comment":"Student Biographical Information",
				"columns":[
					{
						"name":"id",
						"data-type":"int",
						"primary-key":true,
						"auto_increment":true
					},
					{
						"name":"first_name",
						"data-type":"varchar(20)",
						"not-null":true
					},
					{
						"name":"last_name",
						"data-type":"varchar(20)",
						"not-null":true
					}
				]
			},
			{
				":crud-action":"create",
				"name":"staff_profil",

			}
		]
	}
}