Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] User SignUp, SignIn機能をDBに接続して作成する。 #1

Open
mori5321 opened this issue May 20, 2021 · 0 comments
Open

Comments

@mori5321
Copy link
Owner

UserStory

SignUp

  • UserはSignUpをすることができる
    • 個人の情報を登録できる
    • 組織情報を登録できる

Login

  • UserはLogInすることができる

実装方針

  • Account作成
  • User作成
  • Organization作成
    この3つは分ける

タスク

テーブル定義

  • Accountsテーブル
  • Usersテーブル
  • Organizationテーブル

Accounts

column type opts
id VARCHAR(36) primary key
email VARCHAR(256) unique, null false
password_hash VARCHAR(256) null false
user_id VARCHAR(36) references

Users

column type opts
id VARCHAR(36) primary key

Organizations

column type opts
id VARCHAR(36) primary key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant