Commit Graph

7 Commits

Author SHA1 Message Date
marco
dc00abb0da Refactor Migrator to support functional sql generators. 2015-08-03 17:12:05 +02:00
marco
838d696346 Simple subscriber table. 2015-07-30 22:00:34 +02:00
marco
408f43cc47 Pluralize migrator methods. 2015-07-30 20:02:11 +02:00
marco
ba436ccc42 Migrator is now able to create real tables.
Because of how WordPress and the dbDelta function works, it's
basically impossile to test it with Unit testing.
We'll have to make sure we properly test this in acceptance testing.
2015-07-30 20:00:58 +02:00
marco
47b874725b Add DB charset to Env. 2015-07-30 15:32:38 +02:00
marco
8e0217674f Env class to hold all environment variables.
We are going to use this class to store all variables
that we would store with globals and defines.
It will be initialized in the initializer and we'll be
able to get any variable with static methods.
2015-07-29 16:23:50 +02:00
marco
ebe3c5547f First Migrator class and test. 2015-07-29 16:03:47 +02:00