I'm working on a project in which a user can create tables to save some data. What would be the best way to implememt this? Right now I'm doing it like this:
Table 'tables' - contains stuff the user setup like a name.
Table 'rows' - contains an id and relation to 'tables'.
Tables 'cells' - contains an id, value, position and relation to 'rows''.
Is there a cleaner or better way to do this?