Commit Graph

15 Commits

Author SHA1 Message Date
Benoît Burnichon
0717b86f5d Change Indexes names to unique ones 2015-11-04 17:14:33 +01:00
Nicolas Le Goff
66fa05f4ee Fix CS 2014-07-17 15:17:04 +02:00
Nicolas Le Goff
bf3f870a91 Store UNIX timestamp for token expiration 2014-03-24 12:29:39 +01:00
Nicolas Le Goff
23eff56046 Add bi-directional reloationship for application to account & accout to tokens 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
46124df500 Remove unique index on account_id 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
63b6de5fc8 Remove one to one relation beetween account and token & add lastUsed field for token 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
bf5b02a583 Sets api tokens fields length to 128 for migration purpose 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
ae25f57330 Remove Session relationship 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
a55a266de2 Fix ID genration startegy 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
c4165ab03e Session can be null 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
652b5fb08f Expires can be null 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
6f87cab8c1 Fix annotation issue 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
3ecdd4306b Sets relation beetwen token and account entity to One-To-One Bi-Directional 2014-03-24 12:28:17 +01:00
Nicolas Le Goff
3630b942b6 Set oauthToken field length to 32 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
061365fd54 Add oauth entities 2014-03-24 12:28:14 +01:00