From 65b40c69a0bb5d64f32233aa021a0728ffc19157 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 17 Jan 2026 14:45:48 +0300 Subject: [PATCH] renamed column created_at --- aharlamcev/postgresql/homeworkDDL.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aharlamcev/postgresql/homeworkDDL.sql b/aharlamcev/postgresql/homeworkDDL.sql index 7bc5255..5e43015 100644 --- a/aharlamcev/postgresql/homeworkDDL.sql +++ b/aharlamcev/postgresql/homeworkDDL.sql @@ -29,4 +29,7 @@ quantity int not null, price_at_purchase DECIMAL(10, 2) not null, foreign key (order_id) references orders(id), foreign key (product_id) references products(id) -) ; \ No newline at end of file +) ; + +alter table users +rename column crated_at to created_at; \ No newline at end of file