[development] Extend database abstraction layer, to include table creation.

Karoly Negyesi karoly at negyesi.net
Thu May 11 19:36:00 UTC 2006


On Thu, 11 May 2006 20:31:32 +0200, Adrian Rossouw <adrian at bryght.com>  
wrote:

> http://drupal.org/node/63049
>
> Now that we have .install files for modules, I believe it is time we  
> extended our database abstraction layer.
>
> I recommend we create the following extra functions :
>
> 1. db_create_table($tablename, $columns); // columns is an associative  
> array with the 'name' => 'type'

Ah yes. And between 'character variable' of postgres and 'varchar' of  
mysql, which one ?


More information about the development mailing list