-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design for data modeling #222
Comments
The design may need to portray the concept of foreign keys (probably not in so many words) to help users understand the link between the created tables, and help them understand how entries are mated together when merging or moving a column from one table to another. |
This issue has not been updated in 90 days and is being marked as stale. |
Although we are doing this feature in Cycle 3, this ticket no longer covers accurate design requirements, so I'm going to close it. |
Problem
Users may want to alter their data model after they've created tables and have some data. We should allow them to do so.
Implementation details
Imagine the following
roster
table:To normalize their data, The user would want to turn this into the following tables:
Step 1: Extract Students
First, they would create a new
Students
table using theStudent Name
andStudent Email
columns.The existing
roster
table would become:Step 2: Extract Teachers
Second, they would create a new
Teachers
table using theTeacher Name
column.The existing
roster
table would become:Step 3: Move Teacher Email from
roster
toTeachers
The user realizes they've made a mistake and left Teacher Email on the wrong table. They will then move the
Teacher Email
column toTeachers
.The
Teacher
table becomes:The
roster
table becomes:Step 4: Extract Classes and Teacher ID
Now we extract class information into its own table,
Classes
:The
roster
table becomes:Step 5: Rename
roster
toGrades
The user realizes that
roster
is now essentially a list of grades, so they rename the table toGrades
.Now they've transformed a table named
roster
into four tables:Students
Teachers
Classes
Grades
Proposed solution
We need to guide the user through the data modeling process above.
Actions available
Users should be able to:
Create a new table based on moving a column from an existing table.
Move a column from an existing table to another existing table.
Teacher Email
back toroster
Merge existing tables A and B
roster
table.Automatic creation of views
Additional context
The text was updated successfully, but these errors were encountered: