Merge pull request 'feat: CASCADE node link table' (#3) from VORKOUT-29 into main
Reviewed-on: #3 Reviewed-by: Michael Berdyshev <mikhail.dev@heado.ru> Reviewed-by: cyrussmeat <dr.cyrill@gmail.com>
This commit is contained in:
		@@ -109,10 +109,10 @@ node_link_table = Table(
 | 
			
		||||
    Column("id", UnsignedInt, autoincrement=True,
 | 
			
		||||
           primary_key=True, nullable=False),
 | 
			
		||||
    Column("link_name", String(20), nullable=False),
 | 
			
		||||
    Column("node_id", UnsignedInt, ForeignKey("ps_node.id"), nullable=False),
 | 
			
		||||
    Column("node_id", UnsignedInt, ForeignKey("ps_node.id", ondelete='CASCADE'), nullable=False),
 | 
			
		||||
    Column("link_point_id", UnsignedInt, nullable=False),
 | 
			
		||||
    Column("next_node_id", UnsignedInt, ForeignKey(
 | 
			
		||||
        "ps_node.id"), nullable=False),
 | 
			
		||||
        "ps_node.id", ondelete='CASCADE'), nullable=False),
 | 
			
		||||
    Column("settings", JSON, default={}),
 | 
			
		||||
    Column("creator_id", UnsignedInt, ForeignKey(
 | 
			
		||||
        "account.id"), nullable=False),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user