kiesproject / attendance-server

サボらんサーバ
Other
0 stars 0 forks source link

Create user table with Postgres on heroku #1

Open y-zumi opened 6 years ago

y-zumi commented 6 years ago

Users Table

id(Int) name(String) password(String) admin(Boolean)
1 zumi pass-fuga true
2 nns pass-piyo false
3 aya pass-hoge true

Attendances Table

id(Int) userId(Int) attendance type(String) date(Date) reason(String)
1 1 attend 2018-4-10 null
2 1 absent 2018-4-8 面接のため
3 2 late 2018-4-8 バイトのため
y-zumi commented 6 years ago

usersテーブルは作りました