Skip to content

Instantly share code, notes, and snippets.

@cesargalindo
Created June 10, 2015 16:15
Show Gist options
  • Save cesargalindo/79b7edeaaf40afb763b6 to your computer and use it in GitHub Desktop.
Save cesargalindo/79b7edeaaf40afb763b6 to your computer and use it in GitHub Desktop.
Insert Drupal User 1
INSERT INTO `users` (`uid`, `name`, `pass`, `mail`, `theme`, `signature`, `signature_format`, `created`, `access`, `login`, `status`, `timezone`, `language`, `picture`, `init`, `data`, `uuid`)
VALUES
(1,'admin','$S$D.abhekFqku905HOIs1YZIpCWavJe5j1tWNlqb5/J3IYuaDRilLr','[email protected]','','','full_html',1416599660,1422312373,1422312373,1,'','',0,'',X'613A363A7B733A31363A22636B656469746F725F64656661756C74223B733A313A2274223B733A32303A22636B656469746F725F73686F775F746F67676C65223B733A313A2274223B733A31343A22636B656469746F725F7769647468223B733A343A2231303025223B733A31333A22636B656469746F725F6C616E67223B733A323A22656E223B733A31383A22636B656469746F725F6175746F5F6C616E67223B733A313A2274223B733A373A226F7665726C6179223B693A313B7D','c403b212-1bc9-4889-8d21-6a02429d54b7');
INSERT INTO `field_revision_field_first_name` (`entity_type`, `bundle`, `deleted`, `entity_id`, `revision_id`, `language`, `delta`, `field_first_name_value`, `field_first_name_format`)
VALUES
('user','user',0,1,1,'und',0,'drupal',NULL);
INSERT INTO `field_data_field_first_name` (`entity_type`, `bundle`, `deleted`, `entity_id`, `revision_id`, `language`, `delta`, `field_first_name_value`, `field_first_name_format`)
VALUES
('user','user',0,1,1,'und',0,'drupal',NULL);
INSERT INTO `field_revision_field_last_name` (`entity_type`, `bundle`, `deleted`, `entity_id`, `revision_id`, `language`, `delta`, `field_last_name_value`, `field_last_name_format`)
VALUES
('user','user',0,1,1,'und',0,'admin',NULL);
INSERT INTO `field_data_field_last_name` (`entity_type`, `bundle`, `deleted`, `entity_id`, `revision_id`, `language`, `delta`, `field_last_name_value`, `field_last_name_format`)
VALUES
('user','user',0,1,1,'und',0,'admin',NULL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment