Skip to content

Commit 6cccd1e

Browse files
Update seed item's id
1 parent 543bc5a commit 6cccd1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/bash-scripts/seed_local_dynamodb.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
aws dynamodb put-item \
44
--table-name items \
55
--item '{
6-
"id": {"S": "'$(uuidgen 2>/dev/null || echo "default-id-1")'"},
6+
"id": {"S": "'$(uuidgen 2>/dev/null || echo "1")'"},
77
"name": {"S": "Premium Service Package"},
88
"description": {"S": "A comprehensive package offering premium services including dedicated support and priority access."},
99
"createdAt": {"S": "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'"}
@@ -13,7 +13,7 @@ aws dynamodb put-item \
1313
aws dynamodb put-item \
1414
--table-name items \
1515
--item '{
16-
"id": {"S": "'$(uuidgen 2>/dev/null || echo "default-id-2")'"},
16+
"id": {"S": "'$(uuidgen 2>/dev/null || echo "2")'"},
1717
"name": {"S": "Standard Service Package"},
1818
"description": {"S": "A standard package providing essential services with regular support."},
1919
"createdAt": {"S": "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'"}

0 commit comments

Comments
 (0)