Files
seatmapv1/tests/functional/003_columns/008_update_barcodes_table.log
zino 1392bd3a96 Squashed 'seatmap-webapi/' content from commit 02d4bf7
git-subtree-dir: seatmap-webapi
git-subtree-split: 02d4bf7404b8fcb788502ca45c813946b6c4f5b9
2021-01-20 12:59:59 +01:00

37 lines
1.0 KiB
Plaintext

===
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}]}