Home
users
Fork
Export all
Schema
Model
Controller
Seeding
Form
Laravel 4.2
Add to favorites
Comments (5)
roles
id
increments
title
string
users
id
bigIncrements
timestamps
timestamps
username
string
(30)
email
string
(100)
password
string
(100)
salt
string
(30)
register_ip
string
(15)
forget_token
string
(100)
active_token
string
(100)
permissions
id
increments
slug
string
(100)
permission_role
permission_id
FK
integer
role_id
FK
integer
role_user
role_id
FK
integer
user_id
FK
bigInteger
login_attempts
id
increments
user_id
FK
bigInteger
login_ip
string
(15)
login_time
timestamp
×
Comments for users
goofas . 20 January 2014
I was wondering what the forget_slug and active_slug rows in your user table are used for?
sajjad_ser . 08 February 2014
sorry actually they are token i changed them.
[email protected]
. 19 December 2018
@sajjad_ser
I think this isn't the right way to build these tables'relations. So I forked it and made another version of it in a way that is correct.
http://www.laravelsd.com/share/lNFAjd
Let me know what you think
[email protected]
. 20 December 2018
I also fixed the foreign keys references for the columns. http://www.laravelsd.com/share/lNFAjd
mic.student . 02 October 2020
Kachin has been here
Laravel Schema Designer v0.7.1
follow me on twitter
@okyn01