Commit Graph

14 Commits

Author SHA1 Message Date
marco
6bffc7b44e PHP and closures. It's 1990 again. 2015-08-10 17:30:30 +02:00
marco
8ce501178d Settings model. 2015-08-07 22:57:38 +02:00
marco
f6c0607033 Add unique index to subscriber email attribute. 2015-08-07 22:29:51 +02:00
marco
a6bc4f5d18 Fix test for Migrator. 2015-08-07 22:14:43 +02:00
marco
4378d42274 First implementation of the Subscriber ORM Model. 2015-08-07 15:36:43 +02:00
marco
a76ccbd6a8 Add email column to the subscriber schema. 2015-08-03 19:59:54 +02:00
marco
eee532c62a Add a global plugin prefix to the environment class. 2015-08-03 19:57:13 +02:00
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