(toggl-portal): Add project caching
This commit is contained in:
@@ -11,8 +11,8 @@ impl MigrationTrait for Migration {
|
||||
Table::create()
|
||||
.table(Project::Table)
|
||||
.if_not_exists()
|
||||
.col(ColumnDef::new(Project::Id).integer().not_null())
|
||||
.col(ColumnDef::new(Project::TogglId).big_unsigned().not_null())
|
||||
.col(ColumnDef::new(Project::Id).integer().primary_key().auto_increment().not_null())
|
||||
.col(ColumnDef::new(Project::TogglId).big_unsigned().not_null().unique_key())
|
||||
.col(
|
||||
ColumnDef::new(Project::WorkspaceId)
|
||||
.big_unsigned()
|
||||
|
||||
Reference in New Issue
Block a user