| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
// $Id: station_catalog.install,v 1.14 2009/05/26 18:01:14 drewish Exp $ |
// $Id: station_catalog.install,v 1.15 2009/06/02 16:56:52 drewish Exp $ |
| 4 |
|
|
| 5 |
/** |
/** |
| 6 |
* Implementation of hook_schema(). |
* Implementation of hook_schema(). |
| 25 |
* Implementation of hook_schema(). |
* Implementation of hook_schema(). |
| 26 |
*/ |
*/ |
| 27 |
function station_catalog_schema() { |
function station_catalog_schema() { |
|
// db_query(" |
|
|
// CREATE TABLE {station_catalog} ( |
|
|
// `nid` int(10) unsigned NOT NULL default '0', |
|
|
// `number` int(10) unsigned NOT NULL default '0', |
|
|
// `artist` varchar(255) NOT NULL default '', |
|
|
// `album` varchar(255) NOT NULL default '', |
|
|
// `year` int(10) unsigned NOT NULL, |
|
|
// `label` varchar(255) NOT NULL default '', |
|
|
// `mb_release_id` varchar(36) NOT NULL default '', |
|
|
// `asin` varchar(16) NOT NULL default '', |
|
|
// ) /*!40100 DEFAULT CHARACTER SET utf8 */; |
|
|
// "); |
|
|
|
|
|
|
|
| 28 |
$schema['station_catalog'] = array( |
$schema['station_catalog'] = array( |
| 29 |
'description' => t('Information about albums in the station catalog.'), |
'description' => t('Information about albums in the station catalog.'), |
| 30 |
'fields' => array( |
'fields' => array( |