Lucien Cartier-Tilet
c5f5e770e2
All checks were successful
continuous-integration/drone/push Build is passing
This commit changes the primary key of words to a serial number. That way, two words with the same normalized value will not collide with one another. It also adds two new tables in the database: - Users following languages - Users learning words The former can represent two stages of learning a word: - Either the user is currently learning it - Or they consider they know it and don’t need to work on it anymore These two new tables now have their API query available through the GraphQL API. This commit also fixes the issue of word-related tables and types not being dropped when resetting the database. |
||
---|---|---|
.. | ||
2023-01-03-134423_create_user | ||
2023-01-03-134426_create_language | ||
2023-01-03-134434_create_word | ||
00000000000000_diesel_initial_setup | ||
.keep |