Current time: 05-24-2012, 07:01 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Users table
06-10-2010, 12:53 PM
Post: #1
Users table
Why there are 2 tables (user, user_back) with the same user information?

Julio Montoya
BeezNest - http://www.beeznest.com
Blog: http://phpcommit.wordpress.com
Visit this user's website Find all posts by this user
Quote this message in a reply
06-10-2010, 04:49 PM
Post: #2
RE: Users table
The "_back" tables are backups of the users and user_packs. These are there for 2 reasons:
1) In case a user's account or package is deleted accidentally.
2) In case the user signs up with valid information, then changes it and abuses your service you still have valid contact information on the user.

I was intending to add an option to enable or disable the "backups" but I was going to see how the current users felt about it.

- KuJoe
▒ LvL8
▒ The Free Web Hosting Guide
▒ FreeWebHostingTalk


PM me for theme conversions @ $15!
Visit this user's website Find all posts by this user
Quote this message in a reply
06-10-2010, 10:59 PM
Post: #3
RE: Users table
Hmm. Well if we are doing that... Is there a way we can make it track ALL user account changes, instead of just current and original.

[Image: sig.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
06-10-2010, 11:23 PM
Post: #4
RE: Users table
I considered that, maybe in the future.

- KuJoe
▒ LvL8
▒ The Free Web Hosting Guide
▒ FreeWebHostingTalk


PM me for theme conversions @ $15!
Visit this user's website Find all posts by this user
Quote this message in a reply
06-11-2010, 02:25 AM
Post: #5
RE: Users table
Well, there are many ways of "backuping" data, you can add an "activation" or "visibility" boolean field in the table, so you are not forced to delete the user record in the database . You just change the status.

Julio Montoya
BeezNest - http://www.beeznest.com
Blog: http://phpcommit.wordpress.com
Visit this user's website Find all posts by this user
Quote this message in a reply
06-11-2010, 04:08 AM
Post: #6
RE: Users table
I find this method easier based on the current code that was in the system prior to my arrival. Wink

- KuJoe
▒ LvL8
▒ The Free Web Hosting Guide
▒ FreeWebHostingTalk


PM me for theme conversions @ $15!
Visit this user's website Find all posts by this user
Quote this message in a reply
06-11-2010, 06:30 AM
Post: #7
RE: Users table
Moved to General Support.

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
Quote this message in a reply
06-15-2010, 05:51 AM
Post: #8
RE: Users table
(06-11-2010 04:08 AM)KuJoe Wrote:  I find this method easier based on the current code that was in the system prior to my arrival. Wink

Ok I get it! Hope nobody have 10000 users. In their system!!

Julio Montoya
BeezNest - http://www.beeznest.com
Blog: http://phpcommit.wordpress.com
Visit this user's website Find all posts by this user
Quote this message in a reply
06-15-2010, 07:22 AM
Post: #9
RE: Users table
And if they do?

- KuJoe
▒ LvL8
▒ The Free Web Hosting Guide
▒ FreeWebHostingTalk


PM me for theme conversions @ $15!
Visit this user's website Find all posts by this user
Quote this message in a reply
06-15-2010, 08:25 AM
Post: #10
RE: Users table
(06-15-2010 07:22 AM)KuJoe Wrote:  And if they do?

Then you will have 2 tables with the same data, 10000 extra records for nothing.... mmm normalization??

Julio Montoya
BeezNest - http://www.beeznest.com
Blog: http://phpcommit.wordpress.com
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)