Skip to content

Commit e25b42d

Browse files
committed
Successfully add new release lifecycle fields.
1 parent 98ccca0 commit e25b42d

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
DATABASE_URL=postgres://postgres:hush1234@localhost:5432
1+
DATABASE_URL=postgres://postgres:hush1234@localhost:5432?schema=feature_tracker
22
PASSWORD=hush1234

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [Unreleased]
6+
7+
## Changed
8+
9+
- Added release lifecycle fields ([#57]).
10+
11+
## Fixed
12+
13+
...
14+
15+
## Removed
16+
17+
...
18+
19+
[#57]:https://github.com/stackabletech/feature-tracker/pull/57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
This renames the column `date` to `general_availability` and adds the following columns to the `releases` table:
3+
- `end_of_development`
4+
- `end_of_life`
5+
- `end_of_sales`
6+
- `end_of_service`
7+
- `end_of_support`
8+
*/
9+
10+
-- AlterTable
11+
ALTER TABLE "releases" RENAME COLUMN "date" TO "general_availability";
12+
ALTER TABLE "releases" ADD COLUMN "end_of_development" TIMESTAMP(3),
13+
ADD COLUMN "end_of_life" TIMESTAMP(3),
14+
ADD COLUMN "end_of_sales" TIMESTAMP(3),
15+
ADD COLUMN "end_of_service" TIMESTAMP(3),
16+
ADD COLUMN "end_of_support" TIMESTAMP(3);

0 commit comments

Comments
 (0)