Skip to content

Instantly share code, notes, and snippets.

CREATE TABLE `users` (
`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY,
`name` varchar(100) NOT NULL
);
CREATE TABLE `transactions` (
`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY,
`user_id` int(11) NOT NULL,
`created` datetime NOT NULL,
`amount` decimal(8,2) NOT NULL,
@PEKTOP
PEKTOP / zappa_policy.json
Last active January 22, 2021 13:32
AWS AIM Policy for Zappa
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:AttachRolePolicy",
"iam:GetRole",
"iam:CreateRole",
"iam:PassRole",