Benjamin Eberlei
cd6131c9b8
Remove all trailing whitespaces
2011-12-19 22:56:19 +01:00
Andrew Mackrodt
2fdb55a878
Added absolute namespace paths to phpdoc annotations - issue DDC-1025.
2011-12-11 21:56:26 +00:00
Guilherme Blanco
8efae0b232
Fixes DDC-1396.
2011-10-03 01:30:20 -03:00
Guilherme Blanco
cd28051370
Fixes DDC-1395
2011-10-03 01:26:43 -03:00
Guilherme Blanco
2ae3bb6e3a
Fixed bug in Result cache cleaner.
2011-09-19 01:40:30 -03:00
Guilherme Blanco
1fb213760b
Refactored Cache cleaners commands to sync with new Common Cache Providers.
2011-09-15 17:46:13 -03:00
Davy Hellemans
b333ff95fb
Fixed typo
2011-09-05 09:42:09 +03:00
Benjamin Eberlei
d3b27dcb1a
DDC-1344 - Fix path displaying to not use realpath()ed variables
2011-08-27 13:36:18 +02:00
Benjamin Eberlei
1c2ade61ab
DDC-1214 - Fix UpdateCommand::getFullName()
2011-06-19 10:05:30 +02:00
Bertrand Zuchuat
c7eaf77d15
Renamed function getFullName with getName to match with last change on Symfony Console
2011-06-12 14:46:02 +02:00
Benjamin Eberlei
fe527fbf1a
Merge pull request #59 from asm89/databasedriver-patch
...
Implemented tableName -> className and columnName -> fieldName mapping in DatabaseDriver.
2011-06-11 03:15:16 -07:00
Benjamin Eberlei
037daff891
Merge pull request #65 from weaverryan/update_command
...
[Tools][Console] Refactoring the UpdateCommand
2011-06-11 01:16:25 -07:00
Fabien Potencier
86c3744b8c
Made orm:convert-mapping command more configurable (allow to change the extension of the generated files for instance)
2011-06-05 08:23:08 +02:00
Ryan Weaver
6468740915
[Tools][Console] Reworking changes to be more backwards compatible
...
This keeps the --dump-sql and --force options, but adds an exception if you try to use them both (which previously, only dumped the SQL but didn't tell you that it was *not* in fact also executing the queries).
One additional change is the introduction of a `$name` property, which was the only way that a parent task could allow a child task to override the task's name early enough that the task's overridden name is taken to account when the parent class references it for its help message.
2011-06-03 15:09:18 -05:00
Ryan Weaver
79643e32ed
[Tools][Console] Refactoring the UpdateCommand
...
There are two basic changes:
1) Changed --force and --dump-sql from options to a single argument. Prior, you couldn't pass both options simultaneously anyways, so making them an argument is more accurate.
2) Changed the language and formatting of the task to be more user-friendly.
2011-06-03 08:02:51 -05:00
Alexander
7ee8dc4e44
DDC-1179 - Make it possible to specify a namespace when mapping with --from-database
2011-06-02 21:45:03 +02:00
Benjamin Eberlei
d45f7c1302
DDC-694 - Add info command
2011-05-15 20:18:31 +02:00
Bertrand Zuchuat
b959ab37bf
Typo
2011-05-08 13:57:08 +02:00
Albert Jessurum
234d2e5f0f
Fix typo on schema help messages
2011-03-15 12:22:53 +01:00
Benjamin Eberlei
05f41278a6
Significantly updated the Help of the ConvertMapping and GenerateEntities Commands to help people using and understanding their scope. Added an additional --force flag to ConvertMapping command.
2011-01-23 20:25:59 +01:00
Jonathan H. Wage
054f26c0a7
Fixing issue with change to ClassMetadataFactory constructor and ConvertMappingCommand.
2010-12-03 11:44:22 -06:00
Fabien Potencier
892eec2f26
Update Symfony\Component\Console to latest version
2010-11-30 02:45:04 +08:00
Benjamin Eberlei
dff5dae416
DDC-897 - Make ClassMetadataFactory configurable.
2010-11-27 20:53:26 +01:00
Benjamin Eberlei
ae76b2ab8d
DDC-853, DDC-629 - Fix drop schema always dropping everything at the cost of potential failures when dropping due to foreign keys. Added a full-database drop mode that resembles the old behavior.
2010-11-16 21:31:54 +01:00
beberlei
039293c27a
DDC-816 - Fix output of warning message in update and drop schema-tool commands
2010-09-25 12:12:19 +02:00
Benjamin Eberlei
62a8e2aad5
Enhance Schema-Tool commands by being more aggresive on warning the user that these commands do stuff that can be potentially dangerous to the database (and its contents).
2010-09-21 22:08:29 +02:00
Guilherme Blanco
2e3c1506fb
[DDC-792] Fixed issue with run-dql when using max result was triggering undefined method error.
2010-09-15 14:29:55 -03:00
Benjamin Eberlei
7ff9976b3c
Made using schema-tool:drop and schema-tool:update more secure by requiring the user to confirm the operation with another flag --force.
2010-08-31 23:42:27 +02:00
Sébastien HOUZE
4a9f36800e
Symfony/Components renamed into Symfony/Component
2010-08-23 12:39:30 -05:00
Benjamin Eberlei
afd4121116
DDC-611 - Throw an exception if trying to clear an APC Cache from the CLI since there is no access to the webserver shared memory (thanks Romain Dalmaso for reporting)
2010-06-28 23:36:09 +02:00
Benjamin Eberlei
51e6681934
DDC-646 - Bugfix with missing inclusion of Namespace, added test for ConvertDoctrine1SchemaCommand
2010-06-20 00:28:20 +02:00
Jonathan H. Wage
464accecfe
Fixing wrong variable name.
2010-05-14 12:33:17 -04:00
Benjamin Eberlei
e62b51cf38
DDC-515 - Deleted obsolte SchemaValidatorCommand (we already had a ValidatorSchemaCommand)
2010-05-12 23:42:48 +02:00
Benjamin Eberlei
d9969901e1
DDC-515 - Fixed some issues with Schema Validation Command
2010-05-12 23:41:28 +02:00
Benjamin Eberlei
d00f674a08
DDC-515 - Enhanced Validate-Schema-Command, integrated it with CLI and besides mapping<->database checks also do consistency checks of the mapping files
2010-05-11 23:08:36 +02:00
Benjamin Eberlei
0f7d71cac4
Merge commit 'dc2master/master'
2010-04-27 19:28:34 +02:00
Benjamin Eberlei
fab5ef8429
DDC-515 - First version of a validate mapping command
2010-04-17 08:47:40 +02:00
Jonathan H. Wage
59f3fe3a40
Fixing code style issue
2010-04-16 13:20:46 -04:00
Jonathan H. Wage
2f6f8587b5
Fixing changed method names
2010-04-14 20:40:12 -04:00
Jonathan H. Wage
89c71138e6
Fixing changed method names
2010-04-14 20:39:51 -04:00
Jonathan H. Wage
4d758035cc
Extracting repository generation code to standalone class so it can be re-used
2010-04-14 15:19:48 -04:00
Jonathan H. Wage
32a81f09d1
Fixing generate-repositories command so it works again after migration to Symfony console
2010-04-14 14:32:47 -04:00
Jonathan H. Wage
bce7ebfcc3
Fixing convert-mapping task to use the DisconnectedClassMetdataFactory
2010-04-13 18:58:43 -04:00
Jonathan H. Wage
5cfe9e1d94
Introducing DisconnectedClassMetadataFactory that will replace the need for ClassMetadataReader
2010-04-13 18:20:41 -04:00
Jonathan H. Wage
97e29e00a7
Fixing orm:generate-proxies command to create the destination direction if it does not exist yet
2010-04-13 14:12:44 -04:00
Jonathan H. Wage
10aaf93c44
Fixing ensure-production-settings task to not throw an exception and instead use the Output object to output an error
2010-04-13 14:12:13 -04:00
Jonathan H. Wage
0f4ba3b875
Fixing issue with orm:convert-mapping task and dest-path that does not exist yet as well when reverse engineering from-database
2010-04-13 14:11:21 -04:00
Jonathan H. Wage
c81b770a0d
Fixing issue with orm:clear-cache:result command after the migration to Symfony console
2010-04-13 14:10:12 -04:00
Benjamin Eberlei
700060cfb2
DDC-510 Refactored all Command Tools to use ClassMetadataFactory instead of ClassMetadataReader
2010-04-11 09:30:01 +02:00
Benjamin Eberlei
6e5b1bbe60
DDC-510 - Refactored Metadata Driver to be an required option, even for Annotations - allowing to use the specified paths in ORM Tooling Commands
2010-04-10 17:35:18 +02:00