Sign in
fuchsia
/
third_party
/
diesel-rs
/
diesel
/
refs/tags/v2.1.5
/
.
/
migrations
/
mysql
/
2020-02-18-111430_create_pokes
/
up.sql
blob: f685fd3186c29ee2275fa578054c4a3911dfbe32 [
file
] [
log
] [
blame
]
create
table
pokes
(
user_id INTEGER
PRIMARY
KEY
NOT
NULL
REFERENCES
users
(
id
),
poke_count INTEGER
NOT
NULL
,
CONSTRAINT
pokes_poke_count_check
CHECK
(
poke_count
>
0
)
);