Jonathan Bregler and Rob Bygrave
158ee9a081
Add SAP HANA support ( #1511 )
2018-10-24 21:38:17 +13:00
rob bygrave
29aa395cd4
#1509 - DBMigration add ... List<String> getPendingDrops();
2018-10-19 16:24:06 +13:00
rob bygrave
663b1bb4aa
#1474 - IllegalStateException: Table [some_table] does not exists in model? ... when applying drop table migration and table is no longer in the model
2018-08-21 20:45:31 +12:00
Roland Praml and Rob Bygrave
5c99986476
Migration with procedures ( #1451 )
...
DB Migration with helper stored procedures (for MySql and SQL Server)
2018-07-18 22:21:47 +12:00
Michael Benz and Rob Bygrave
cf2d9df256
Migration enum drop check constraints ( #1435 )
...
* Fix: apply drop checkConstraints properly which were not applied for Enum to String
* Use IF EXISTS to drop constraints
* added TODO and comment about MariaDB supporting CHECK constraints from version 10.2.1 forward compared to MySQL 5.7/8.0 parsing but ignoring CHECK constraints
* updated reference scripts for dropping constraints on enums
2018-06-27 10:38:56 +12:00
rob bygrave
ff3c5b3d82
#1441 - Update ebean-dbmigration.xsd adding missing alterForeignKey element
2018-06-27 00:23:36 +12:00
rob bygrave
1a03e84f0e
#1439 - IllegalArgumentException: No rule for io.ebeaninternal.dbmigration.migration.Sql@315df4bb
2018-06-26 22:40:08 +12:00
Roland Praml and Rob Bygrave
9ad460ecd8
FIX: applied history drops were not recognized ( #1422 )
2018-06-14 00:07:14 +12:00
Roland Praml and Rob Bygrave
41a31c1aa0
trigger based history will recreate view properly and handle default … ( #1370 )
...
* trigger based history will recreate view properly and handle default value also for history view
* HistoryTriggers are generated at the end
* Reference Script
* MYSQL: lock all tables at once
2018-05-20 17:19:10 +12:00
Rob Bygrave
eda6350d89
#1344 - ENH: Add initial Cockroach DB support ... need to review JSON
...
Adds in the DB ARRAY support (exactly the same as Postgres)
2018-03-09 17:40:34 +13:00
Rob Bygrave
0cc87009d0
#1340 - (test only change) Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Update DbMigrationGenerateTest ... for SqlServer17 platform
2018-03-08 18:37:36 +13:00
Rob Bygrave
f840cfc2ae
#1340 - Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
test changes
2018-03-08 17:40:11 +13:00
Roland Praml and Rob Bygrave
83cf768369
Append preconfigured database to dbMigration ( #1291 )
2018-02-27 11:09:44 +13:00
Roland Praml and Rob Bygrave
bb418456e3
Misc fixes ( #1290 )
2018-02-27 11:06:35 +13:00
Roland Praml and Rob Bygrave
0e3f47ee82
No effective code change: Fixwarnings, overrides, generics etc. ( #1285 )
2018-02-27 10:15:19 +13:00
Roland Praml and Rob Bygrave
da7bb834e7
DbMigration supports altering UniqueConstraints and foreign keys ( #1279 )
...
* NEW: Ebean reads version from pop.properties and prints it at start up
* DDL generation and migration can append a header and platformMigration is prepared to append epilog & prolog to scripts
* FIX: Set identity only, if it is not the platform default type
* Updated reference scripts
* ADD basic support for foreign key migration
* DbMigration detects alter foreign keys
* tests
2018-02-26 14:24:52 +13:00
Roland Praml and Rob Bygrave
91cb5a23fd
Fix dbmigration ( #1277 )
...
ENH: Support adding a '-- Generated by' comment to DDL including version and timestamp
2018-02-26 12:37:54 +13:00
Rob Bygrave
ec7b376612
Test only change - fix test assert for sql server
2018-02-22 22:12:30 +13:00
Rob Bygrave
40634412f5
#323 - DDL Generation support for foreign key cascade options
2018-02-19 22:24:37 +13:00
Rob Bygrave
bbef5a6bbb
#1243 - Add IDENTITY support for Oracle platform (since 12c Oracle supports auto generated identity)
2018-02-02 23:18:23 +13:00
Rob Bygrave
4645fd9725
Cleanup tests for Oracle
2018-02-02 23:17:21 +13:00
Rob Bygrave
f36499f71f
No effective change - remove use of jetbrains @NotNull in tests
2017-11-02 15:26:35 +13:00
rob bygrave
9f9ec8ef9f
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - move IdentityType handling into internal from DbIdentity
2017-10-04 20:49:04 +13:00
rob bygrave
62707caf64
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - move PlatformDdl into internal
2017-10-04 20:30:57 +13:00
rob bygrave
10faa1fae6
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - initial move
2017-10-04 19:36:27 +13:00