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

CLI command to generate a new migration #656

Merged
merged 18 commits into from
May 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(cli): add missing chrono import
  • Loading branch information
viktorbahr committed Mar 29, 2022
commit 0b8256bd6f54cc603c2e9c66588cdbb1dcf15616
2 changes: 1 addition & 1 deletion sea-orm-cli/src/commands.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

use chrono::Local;
use clap::ArgMatches;
use sea_orm_codegen::{EntityTransformer, OutputFile, WithSerde};
use std::{error::Error, fmt::Display, fs, io::Write, path::Path, process::Command, str::FromStr};
Expand Down