Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

4 or 1?

Featured Replies

Working on a simple form builder. This will act as a preference to what type of items belong on a form depending on the event type and form.

section (events)

section_type (fund raiser, members dinner)

form (proposal, claim)

form_Item (field1, field2, etc. )

The question is, since the will only be a few records (100 maybe) would you just make this a single table with a bunch of self relationships, or four tables?

SINGLE TABLE

id

id_parent

name

type

The question, at least for me, is unclear. Perhaps you could repost it.

  • Author

no worries, I was thinking of reducing 4 tables into 1, but its just back practice. I must have been tired. Thanks

I don't quite understand the question either but if it's a question of multiple tables or one maybe we could use people as an example. You may have Students, Teachers, Parents and so on. But ultimately they are all people. So rather than having tables for Students, Teachers, Parents and so on they can all be included in one table of people where each record has a field such as type that would indicate what type of person they are. So in your case. If the 4 tables all hold data that is essentially the same then yes you may want to go with one table with a type field to detirmine the difference.

  • Author

Yes that was the idea. And for people I could see it working well, but for my tables only the structure (id, name, id_parent) would be common. I will look at it again. Thanks

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.