When you want to change the length of Foreign Key. Error #1832

I tried to change the foreign key of product_category_id which was presented in products_products table. The following step help you to change the length of foreign key. Before moving to step, you have to focus on error. When we tried to change the length it provides the error. This error message contains of constraint name …

Git Conventional Commits

As being a developer, we commit our work and push to github. Initially, we overlook the way how we enter the commit. Now, I am writing this blog so you can understand how it should be written. It is essential because in collaborating projects it maintain the status of project with readability and understandability of …

Linux File Permissions: Understanding setuid, setgid, and the Sticky Bit

Before delving into this topic, the understanding of chmod and chown are compulsory here because these are the base for this topic. So, first understand chmod and chown command and read about these command. Let’s move with a basic introduction about these command. After reading this basic introductory you have roughly understand what these command …

chown Command

chown is an abbreviation for “change owner”, which is pretty self-explanatory. It change the ownership of file. You may have notice in chmod command that it change the read, write and execute permission not the ownership of file. So, to change the ownership of file we will use the chown command. Later on, we will …

How to export and import database in PostgreSQL through command line?

Export a PostgreSQL Database with pg_dump Command To export a database through command line. PostgreSQL has provided command-line utility to effectively backup your important information which is pg_dump and a pg_dumpall. The pg_dump is a command-line tool that allows you to dump the content of a specified database into a single file. The pg_dump command provides several options that …