Skip to content

Instantly share code, notes, and snippets.

@saikat
Created November 14, 2009 03:24
Show Gist options
  • Save saikat/234362 to your computer and use it in GitHub Desktop.
Save saikat/234362 to your computer and use it in GitHub Desktop.
// One instance
BEGIN;
select * from project_widget where id = 246;
delete from project_widget where id = 246;
insert into project_widget (id, widget_type, x_origin, y_origin, width, height, text, link_id, color, screen_id, parent_widget_id, font_size, font_face, is_autosized, z_order)
VALUES (246, 'test', 1, 1, 1, 1, 'test', 132, 'oe', 132, 247, 1, 'aoeu', FALSE, 0);
commit;
// Another instance
BEGIN;
select * from project_widget where id = 246;
delete from project_widget where id = 246;
commit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment