Commit Graph

36 Commits

Author SHA1 Message Date
shockrah
e94668955e Merging new cli options into testing to ensure cli opts are working in
pipelines
2020-08-06 20:02:48 -07:00
shockrah
34ac3709f7 reverting use of salt field as its pre-concatenated in our secret field 2020-08-05 22:52:45 -07:00
shockrah
45120330db Adding required deps for creating proper users 2020-08-05 22:49:11 -07:00
shockrah
df395e3b50 updated foreign key name in messages schema 2020-08-02 16:38:50 -07:00
shockrah
000a75c81f user name+id now added to params and channels table now accepts channel_name 2020-07-30 23:50:03 -07:00
shockrah
b8c4cee57f send message now build properly w/ no warns 2020-07-30 23:31:20 -07:00
shockrah
c7922d4249 channel names must now be unique 2020-07-29 00:21:33 -07:00
shockrah
d9a6ea30a7 invites now has a max_uses column and less strict column requirements 2020-07-21 14:30:23 -07:00
shockrah
65ccf70091 adding secret as a primary key in members table 2020-07-13 19:39:35 -07:00
shockrah
75f01edac6 moving keys into members table 2020-07-12 18:50:24 -07:00
shockrah
1944152252 messages schema now ready to be used 2020-07-05 20:48:15 -07:00
shockrah
112c9f34cd * renamed users schema to members basically and added foreign key ref to keys schema 2020-07-05 15:05:34 -07:00
shockrah
cdc88b8365 * fixed formating/comments in users schema
* channels schema now uses a bigint unsigned for pid
this is to keep consistent with notion of id's being usize|u64 in rust
* foreign key constraint added to keys table referencing user rows
2020-07-04 22:52:59 -07:00
shockrah
17a23d41f5 switched the order fields to match what rust typles expect 2020-06-03 01:20:12 -07:00
shockrah
9e6f32e36e Description field is now optional as not all channels will need one 2020-06-03 00:02:22 -07:00
shockrah
528d7502d1 removed perms and limit on channels until channels module is done 2020-06-02 22:01:21 -07:00
shockrah
e2abc49087 added counter to keys table
this lets us increment uses when a key is going to be used
2020-06-02 00:44:53 -07:00
shockrah
125a728674 new keys table to let auth::wall_entry check for api access 2020-06-01 23:02:53 -07:00
shockrah
ec4f9b5302 using secret as primary key 2020-05-19 20:08:26 -07:00
shockrah
2b9635a2b1 removed auto_increment from session key id
Keys are to be generated by rust safely
2020-05-17 16:15:27 -07:00
shockrah
f30a8abfc5 Removed old irrelevant comment 2020-05-17 16:05:01 -07:00
shockrah
9c03207489 Basic sessions schema which is used as a api key cache 2020-05-17 16:04:43 -07:00
shockrah
811c6902ac new users schema
changed column names to be more concise
2020-05-06 00:35:01 -07:00
shockrah
f343f6d252 new field for online status of users
new short structure describing online users
2020-03-17 21:34:32 -07:00
shockrah
7c2e1abbc3 new channel schema which is meant to encompass both text and voice channels 2020-03-11 00:39:10 -07:00
shockrah
7e04e6010a new schema to contain basic channel information 2020-03-10 17:59:27 -07:00
shockrah
924c15a436 No more nullable uses field(it was signed) so option was redundant 2020-03-09 00:52:09 -07:00
shockrah
ae751a2d2b removed unused schema 2020-03-09 00:26:04 -07:00
shockrah
50c2c1da0e removed optional fields 2020-03-08 19:49:22 -07:00
shockrah
ec88a08391 new simplified users schema 2020-03-07 22:06:03 -08:00
shockrah
57db968568 new_users fields are more explicit
also easier to work with given current goals
2020-02-07 15:43:46 -08:00
shockrah
c2c82aec9b new_users cache table
reset sql added for dev purposes
2020-02-07 15:23:05 -08:00
shockrah
3d7547007a updated table description 2020-02-07 15:17:28 -08:00
shockrah
f08d256f4e migrations reflecting previous commit's schema 2020-02-05 14:17:25 -08:00
shockrah
7ea474f044 sample db things and updated invites table structure to allow for greater entropy pools 2020-02-04 00:44:55 -08:00
shockrah
7b8d849758 simpler users table for now 2020-02-04 00:36:41 -08:00