@@ -44,8 +44,8 @@ discard block |
||
44 | 44 | public function create() |
45 | 45 | { |
46 | 46 | $migrationName = ModelsInterface::MIGRATION_CREATE . PhpInterface::UNDERSCORE . |
47 | - $this->tableName . |
|
48 | - PhpInterface::UNDERSCORE . ModelsInterface::MIGRATION_TABLE; |
|
47 | + $this->tableName . |
|
48 | + PhpInterface::UNDERSCORE . ModelsInterface::MIGRATION_TABLE; |
|
49 | 49 | $attrKey = $this->generator->objectName . CustomsInterface::CUSTOM_TYPES_ATTRIBUTES; |
50 | 50 | |
51 | 51 | $isFileNonExistent = FileManager::migrationNotExists($this->generator, $migrationName); |
@@ -82,20 +82,20 @@ discard block |
||
82 | 82 | foreach($relations as $relationEntity) |
83 | 83 | { |
84 | 84 | $entityFile = $this->generator->formatEntitiesPath() |
85 | - . PhpInterface::SLASH . |
|
86 | - $this->generator->objectName . |
|
87 | - ucfirst($relationEntity) . |
|
88 | - PhpInterface::PHP_EXT; |
|
85 | + . PhpInterface::SLASH . |
|
86 | + $this->generator->objectName . |
|
87 | + ucfirst($relationEntity) . |
|
88 | + PhpInterface::PHP_EXT; |
|
89 | 89 | if(file_exists($entityFile)) |
90 | 90 | { |
91 | 91 | $this->setPivotContent($relationEntity); |
92 | 92 | |
93 | 93 | $migrationMask = date(self::PATTERN_TIME) . (self::$counter + 1); |
94 | 94 | $migrationName = ModelsInterface::MIGRATION_CREATE . PhpInterface::UNDERSCORE |
95 | - . $this->tableName |
|
96 | - . PhpInterface::UNDERSCORE . |
|
97 | - MigrationsHelper::getTableName($relationEntity) . |
|
98 | - PhpInterface::UNDERSCORE . ModelsInterface::MIGRATION_TABLE; |
|
95 | + . $this->tableName |
|
96 | + . PhpInterface::UNDERSCORE . |
|
97 | + MigrationsHelper::getTableName($relationEntity) . |
|
98 | + PhpInterface::UNDERSCORE . ModelsInterface::MIGRATION_TABLE; |
|
99 | 99 | |
100 | 100 | if(FileManager::migrationNotExists($this->generator, $migrationName)) |
101 | 101 | { |