This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- rename the old enum | |
ALTER TYPE country_code RENAME TO country_code__; | |
-- create the new enum with the old name | |
CREATE TYPE country_code AS ENUM ('DE', 'AT', 'NL', 'CH'); | |
-- ALTER all you enum columns | |
ALTER TABLE user_address | |
ALTER COLUMN country DROP DEFAULT; | |
ALTER TABLE user_address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var domain = require("domain"); | |
var events = require("events"); | |
var EventEmitter = events.EventEmitter; | |
function suite(dispose, createInDomain) { | |
console.log("\n\n=== suite\n dispose d1 after error: %s\n create EventEmitter in d1 (otherwise outside): %s", dispose, createInDomain); | |
var d1 = domain.create(); | |
var d2 = domain.create(); | |
var ee = null; |