renamed column created_at

This commit is contained in:
Alex
2026-01-17 14:45:48 +03:00
parent f050458471
commit 65b40c69a0
+4 -1
View File
@@ -29,4 +29,7 @@ quantity int not null,
price_at_purchase DECIMAL(10, 2) not null, price_at_purchase DECIMAL(10, 2) not null,
foreign key (order_id) references orders(id), foreign key (order_id) references orders(id),
foreign key (product_id) references products(id) foreign key (product_id) references products(id)
) ; ) ;
alter table users
rename column crated_at to created_at;