Commit Graph

10 Commits

Author SHA1 Message Date
675200303a Added: language to User profile (DB)
The language were set only on session. But now it is
stored with user profile, on DB.

It is important as now I can send alert e-mails to each
user on their own languages and not the activer
user language.

Also, wherever the user logs out and logs in again,
it will see the same site locale.
2018-10-02 23:53:35 -03:00
614dbeda35 Adding URL to PRODUCT 2018-09-16 20:32:32 -03:00
4b9ac0c133 Fixing item_user migration primary keys
I had included item_id and user_id as primary keys to avoid duplications
but the command line to attach I am using does not duplicate.
Not only that, I got an error during migration of Multiple primary keys.
2018-09-16 19:29:14 -03:00
e2942224db Refactoring item_user migration
Delete the separate value for item_user,
adding a primary key to the pivot table
and removing the timestamp as it is
not necessary.
2018-09-14 17:24:26 -03:00
ea3ffaad39 Including occupied username and renaming DB field
Now it shows the username of who is using an item.
Item db field 'usedBy' was renamed to 'used_by' to keep consistence.
2018-09-14 12:52:07 -03:00
fd9e145443 Creating relationships between users/items/products 2018-09-12 02:31:03 -03:00
7701c1a11d Imrpoving Item, Product and Users 2018-09-11 20:48:09 -03:00
f7c00662d5 Creating users_per_item migration 2018-09-10 21:30:00 -03:00
fd3e4a67cf Including Item and Product migration, controllers and models 2018-09-09 00:26:57 -03:00
3631f08050 Init 2018-09-07 20:12:34 -03:00