source: app/lib/definitions.ts@ 2253a52

nextjs
Last change on this file since 2253a52 was 2253a52, checked in by Vasilaki Tocili <vasilakigorgi@…>, 4 months ago

fix: the names of db attributes for 'user'

  • Instead of previously named table 'users', now I'm using the design

which has the tablename as 'user' in singular, following the guidelines

  • In my design, the attributes are called 'user_id' and 'user_name'

instead of 'id' and 'name', so changed that everywhere it applies

  • Property mode set to 100644
File size: 242 bytes
Line 
1// This file contains type definitions for the data.
2// It describes the shape of the data, and what data type each property should accept.
3
4export type User = {
5 user_id: string;
6 user_name: string;
7 email: string;
8 password: string;
9};
Note: See TracBrowser for help on using the repository browser.