Skip to content

mbpcoder/database-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Database schema for general application

Notes

  • Use plural table name => users
  • Always use an auto increment column => id
  • Use lower case for table columns => username
  • Use snake_case for table columns => created_at
  • Default values should give less access for example if there is a disabled field the default value should be true
  • You shouldn't go to code for understanding data structure and vice versa

Blog database schema

Shop database schema

Future development

  • ACL: access control list
  • Ticketing (support)
  • Add SQL file
  • Add migration
  • Add Models

About

Database Schema

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages