Created
December 23, 2008 22:54
-
-
Save paul/39500 to your computer and use it in GitHub Desktop.
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
DO_POSTGRES | POSTGRES | VS | AR | | |
--Reading---------------------------------------------------- | |
SELECT * 6.865 | 7.004 | 0.98x | 10.309 | |
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
CREATE TABLE users ( | |
id serial NOT NULL, | |
"name" text, | |
registered boolean DEFAULT false, | |
money double precision DEFAULT 1908.56, | |
created_on date DEFAULT ('now'::text)::date, | |
created_at timestamp without time zone DEFAULT now(), | |
born_at time without time zone DEFAULT now(), | |
fired_at timestamp with time zone DEFAULT now(), | |
amount numeric(10,2) DEFAULT 11.1, | |
company_id integer DEFAULT 1 | |
) | |
WITH (OIDS=FALSE); |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment