===
PUT /columns/barcodes
{"name":"barcodes2"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 4
true
===
GET /columns/barcodes2
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 284
{"name":"barcodes2","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"product_id","type":"integer","fk":"products"},{"name":"hex","type":"varchar","length":255},{"name":"bin","type":"blob"},{"name":"ip_address","type":"varchar","length":15,"nullable":true}]}
===
PUT /columns/barcodes2
{"name":"barcodes"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 4
true
===
GET /columns/barcodes
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 283
{"name":"barcodes","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"product_id","type":"integer","fk":"products"},{"name":"hex","type":"varchar","length":255},{"name":"bin","type":"blob"},{"name":"ip_address","type":"varchar","length":15,"nullable":true}]}
|