nickolasjadams / megalavania

Special Order Form SAAS Project
0 stars 0 forks source link

users Schema Design and Migration #3

Closed nickolasjadams closed 3 years ago

nickolasjadams commented 3 years ago

Table users { id int [pk, increment] business_name varchar logo_path varchar email varchar password varchar created_at timestamp updated_at timestamp godmode boolean package_id int [ref: > packages.id] // Here's a question. How are we going to handle people who's payments bounce? // Assumed solution. Let them access their order info. But they can't create new orders. account_status enum('paid', 'due', 'bounced') }