Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom timestamp option in migration creation #8500

Closed
carmi2214 opened this issue Jan 3, 2022 · 0 comments · Fixed by #8501
Closed

Custom timestamp option in migration creation #8500

carmi2214 opened this issue Jan 3, 2022 · 0 comments · Fixed by #8501

Comments

@carmi2214
Copy link
Contributor

Feature Description

The Problem

There should be an option to specify a custom timestamp in migration creation,
for example, when somebody manages his own migrations and wants the same timestamp for multiple schemas.

The Solution

An option in the CLI to specify a custom timestamp when creating / generating a migration.

Considered Alternatives

Changing the file's name after creation manually...

Additional Context

Relevant Database Driver(s)

DB Type Relevant
aurora-data-api no
aurora-data-api-pg no
better-sqlite3 no
cockroachdb no
cordova no
expo no
mongodb no
mysql no
nativescript no
oracle no
postgres no
react-native no
sap no
sqlite no
sqlite-abstract no
sqljs no
sqlserver no

Are you willing to resolve this issue by submitting a Pull Request?

  • ✅ Yes, I have the time, and I know how to start.
  • ✖️ Yes, I have the time, but I don't know how to start. I would need guidance.
  • ✖️ No, I don’t have the time, but I can support (using donations) development.
  • ✖️ No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.
carmi2214 added a commit to carmi2214/typeorm that referenced this issue Jan 3, 2022
An option in the CLI to specify a custom timestamp when creating or generating a migration.

Closes: typeorm#8500
carmi2214 added a commit to carmi2214/typeorm that referenced this issue Jan 3, 2022
docs: added description for the option

An option in the CLI to specify a custom timestamp when creating or generating a migration.

Closes: typeorm#8500
pleerock pushed a commit that referenced this issue Jan 31, 2022
* feat: add custom timestamp option in migration creation

An option in the CLI to specify a custom timestamp when creating or generating a migration.

Closes: #8500

* feat: add custom timestamp option in migration creation
docs: added description for the option

An option in the CLI to specify a custom timestamp when creating or generating a migration.

Closes: #8500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant