Search
 
SCRIPT & CODE EXAMPLE
 

CSS

reset id sequence postgres

alter sequence <tableName>_id_seq restart with 1;
For an instance, we have a table named "groups" and we need to reset the id sequence with 1. 
alter sequence groups_id_seq restart with 1;
Comment

how to reset id in postgresql

ALTER SEQUENCE product_id_seq RESTART WITH 1000;
Comment

postgres reset Id

ALTER SEQUENCE inv.inventory_item_status_inventory_item_status_id_seq RESTART WITH 6
Comment

PREVIOUS NEXT
Code Example
Css :: change style of ordered list numbers css 
Css :: centos 8 cron on reboot 
Css :: css set background image repeat vertically 
Css :: margin for text in html 
Css :: how to evenly space icons in a div css 
Css :: bootstrap ol 
Css :: css transform border radius 
Css :: css cursor loading 
Css :: change bot description background top.gg 
Css :: circle button css 
Css :: word spacing css 
Css :: flex fill space 
Css :: css first element 
Css :: fixed header and footer css 
Css :: how to make border around text in html 
Css :: rotate element css 
Css :: sass darken 
Css :: css for bigger screen size 
Css :: putting picture shaddow in css 
Css :: css make input unselectable 
Css :: row reverse grid 
Css :: datatables width 100% not working 
Css :: css flex divide evenly 
Css :: bootstrap card hover effect 
Css :: design good font color 
Css :: add image to div in css 
Css :: box model properties 
Css :: mediaquery for portrate 
Css :: how to set border length in css without div 
Css :: rounded corners css button 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =