beeb89gang / TheMemeProject

TheMemeProject - ahah yes, memes on smartphones goes brrrrrr
http://memeproject.fun
Do What The F*ck You Want To Public License
2 stars 0 forks source link

[DISCUSSION] Data schema ¶ separeted values #6

Open Jatus93 opened 2 years ago

Jatus93 commented 2 years ago

I was thinking to design the data structure like CSV, with ¶ as the separator. (¶SV) So every entry in the database should be a single string formatted with ¶ to differentiate all the fields. A basic version of some data should be like this:

Maxelweb commented 2 years ago

I was thinking to design the data structure like CSV, with ¶ as the separator. (¶SV) So every entry in the database should be a single string formatted with ¶ to differentiate all the fields. A basic version of some data should be like this:

  • from the telgram bot we need
chat_id¶user_id¶message_id¶payload
  • to display the data on the application we should use
session_id¶user_id¶payload

Where chat_id and session_id can be tied one to one.

Absolutely yes. Unfortunately, we cannot use ¶ as actual file extension, so we can call .psv. But if you want we can use this 🅿️ otherwise.