feat: Add created_at, updated_at fields in the db proposal model
This commit is contained in:
		@@ -38,6 +38,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
                creator_name,
 | 
			
		||||
                title,
 | 
			
		||||
                description,
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                start_date,
 | 
			
		||||
                end_date,
 | 
			
		||||
            )
 | 
			
		||||
@@ -156,6 +158,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
                "Retrieved Creator Name",
 | 
			
		||||
                "Retrieved Proposal",
 | 
			
		||||
                "Retrieved Description",
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                start_date,
 | 
			
		||||
                end_date,
 | 
			
		||||
            )
 | 
			
		||||
@@ -180,6 +184,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
                "Creator Name 1",
 | 
			
		||||
                "Proposal 1",
 | 
			
		||||
                "Description 1",
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                start_date,
 | 
			
		||||
                end_date,
 | 
			
		||||
            ),
 | 
			
		||||
@@ -189,6 +195,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
                "Creator Name 2",
 | 
			
		||||
                "Proposal 2",
 | 
			
		||||
                "Description 2",
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                start_date,
 | 
			
		||||
                end_date,
 | 
			
		||||
            ),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user