search for: name_idx

Displaying 1 result from an estimated 1 matches for "name_idx".

Did you mean: name_id
2008 Jul 22
2
ActiveRecord Associations issue
...s_development`.`models` ( `id` int(11) NOT NULL auto_increment, `name` varchar(64) NOT NULL default '''', `brand_id` int(11) NOT NULL default ''0'', `created_at` datetime default NULL, `updated_at` datetime default NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_idx` (`nome`), KEY `FK_MODELS_BRAND` (`brand_id`), CONSTRAINT `FK_MODELS_BRAND` FOREIGN KEY (`brand_id`) REFERENCES `brands` (`id`) ); CREATE TABLE `webcars_development`.`brands` ( `id` int(11) NOT NULL auto_increment, `name` varchar(16) NOT NULL default '''', `created_at` d...