127.0.0.1/taxassisterp/companies/…
- User
127.0.0.1/tax_assist_erp/companies/ http://localhost/phpmyadmin/index.php?route=/table/sql&db=tax_assist_erp&table=companies Your SQL query has been executed successfully.
DESCRIBE companies;
company_id int(11) NO PRI NULL auto_increment company_name varchar(100) NO NULL trade_name varchar(100) YES NULL gstin varchar(15) YES NULL pan varchar(10) YES NULL cin varchar(21) YES NULL msme_number varchar(19) YES NULL company_type enum('Private Limited','Public Limited','LLP','Partnership','Proprietorship') NO NULL registration_date date YES NULL incorporation_date date YES NULL financial_year_start date YES NULL financial_year_end date YES NULL registration_type enum('Regular','Composition','Casual') YES Regular business_nature text YES NULL primary_address text YES NULL city varchar(50) YES NULL state varchar(50) YES NULL pincode varchar(6) YES NULL country varchar(50) YES India phone varchar(15) YES NULL email varchar(100) YES NULL website varchar(100) YES NULL logo_path varchar(255) YES NULL status enum('active','inactive') YES active created_at timestamp NO current_timestamp() updated_at timestamp NO current_timestamp() on update current_timestamp() from above state i need to make enum with all indian State names
- Assistant
To create an ENUM type for the
statecolumn in your table that includes all states in India, you'll need to first list all the states and then structure your SQL command to alter the column to use the new ENUM values.