generated from MasoniteFramework/starter-package
-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add missing migration methods from Laravel #748
Labels
enhancement
A feature that exists, works as intended but needs to be improved
feature request
A feature that does not yet exist but will be a good addition to the library
Comments
maicol07
added
enhancement
A feature that exists, works as intended but needs to be improved
feature request
A feature that does not yet exist but will be a good addition to the library
labels
Jul 5, 2022
Are you able to open a PR and add these? |
It would actually be pretty straight forward:
|
Yes, I can look at them |
Thanks |
josephmancuso
added a commit
that referenced
this issue
Jul 19, 2022
Added new methods to builder (#748)
@maicol07 def macaddr(self, column, length=255, nullable=False):
"""Sets a column to be the macaddr representation for the table.
Arguments:
column {string} -- The column name.
Keyword Arguments:
nullable {bool} -- Whether the column is nullable. (default: {False})
Returns:
self
"""
self._last_column = self.table.add_column(
column, "macaddr", length=255, nullable=nullable
)
return self |
Thanks! Checked the item in the list! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
A feature that exists, works as intended but needs to be improved
feature request
A feature that does not yet exist but will be a good addition to the library
Describe the feature as you'd like to see it
Missing table methods from Laravel docs:
datetimeTz
foreignId
- Added new methods to builder (#748) #752foreignIdFor
- Added new methods to builder (#748) #752foreignUuid
- Added new methods to builder (#748) #752geometryCollection
id
- Added new methods to builder (#748) #752ipAddress
lineString
macAddress
mediumIncrements
mediumText
morphs
multiLineString
multiPoint
multiPolygon
nullableMorphs
nullableTimestamps
nullableUuidMorphs
polygon
rememberToken
set
smallIncrements
softDeletesTz
timeTz
timestampTz
timestampsTz
tinyText
Add more methods to schema builder #771unsignedBigInteger
- Added new methods to builder (#748) #752unsignedDecimal
Add more methods to schema builder #771unsignedMediumInteger
unsignedSmallInteger
unsignedTinyInteger
uuidMorphs
year
What do we currently have to do now?
Just add these methods
The text was updated successfully, but these errors were encountered: