ADD: added schema.sql
This commit is contained in:
@@ -8,7 +8,6 @@ Studia is an open-source web app for efficient learning with index cards (flashc
|
||||
- Import/export decks (JSON/CSV)
|
||||
- Progress tracking and basic statistics
|
||||
- Keyboard-first study experience and mobile-friendly UI
|
||||
- Offline support (cached decks) and theming
|
||||
|
||||
|
||||
## Contributing
|
||||
@@ -18,4 +17,3 @@ Contributions welcome. Please:
|
||||
- Add tests for new behavior and follow code style
|
||||
|
||||
## License
|
||||
A
|
||||
9
backend/db/schema.sql
Normal file
9
backend/db/schema.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
CREATE TABLE users (
|
||||
id UUID PRIMARY KEY,
|
||||
email VARCHAR(255) UNIQUE NOT NULL,
|
||||
name VARCHAR(255) NOT NULL,
|
||||
password_hash VARCHAR(255) NOT NULL,
|
||||
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
|
||||
updated_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
Reference in New Issue
Block a user