Replies: 2 comments 2 replies
-
You may use Schema::create('my_table', function (Blueprint $table) {
$table->id();
$table->rawColumn('my_column', 'cidr');
}); |
Beta Was this translation helpful? Give feedback.
0 replies
-
Would you implement this as a new method on the blueprint class or as an additional argument for the existing |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PostgreSQL supports two types of columns to store IP/Network information, inet and cidr. In laravel migrations we can add an inet column via ipAddress(). However, I don't seem to find a method to create a CIDR type column.
May I request to add support for CIDR type of columns?
Beta Was this translation helpful? Give feedback.
All reactions