77 | | jazz@oceandb:~$ wget http://www.lightbox.ca/pg2mysql-1.2.tar.bz2 |
78 | | jazz@oceandb:~$ tar jxvf pg2mysql-1.2.tar.bz2 |
79 | | jazz@oceandb:~$ cd pg2mysql-1.2/ |
80 | | jazz@oceandb:~/pg2mysql-1.2$ sudo apt-get install php5-cli |
81 | | jazz@oceandb:~/pg2mysql-1.2$ |
| 78 | -- |
| 79 | -- PostgreSQL database dump |
| 80 | -- |
| 81 | |
| 82 | SET client_encoding = 'UTF8'; |
| 83 | SET standard_conforming_strings = off; |
| 84 | SET check_function_bodies = false; |
| 85 | SET client_min_messages = warning; |
| 86 | SET escape_string_warning = off; |
| 87 | |
| 88 | SET search_path = public, pg_catalog; |
| 89 | |
| 90 | SET default_tablespace = ''; |
| 91 | |
| 92 | SET default_with_oids = true; |
| 93 | |
| 94 | -- |
| 95 | -- Name: account; Type: TABLE; Schema: public; Owner: postgres; Tablespace: |
| 96 | -- |
| 97 | |
| 98 | CREATE TABLE account ( |
| 99 | serial smallint DEFAULT nextval(('account_seq'::text)::regclass) NOT NULL, |
| 100 | name character varying(10) NOT NULL, |
| 101 | tel character varying(20) NOT NULL, |
| 102 | fax character varying(20), |
| 103 | mail character varying(20), |
| 104 | department character varying(20) NOT NULL, |
| 105 | unit character varying(20) NOT NULL, |
| 106 | title character varying(20), |
| 107 | admin boolean NOT NULL, |
| 108 | account character varying(20) NOT NULL, |
| 109 | password character varying(20) NOT NULL |
| 110 | ); |
| 111 | |
| 112 | |
| 113 | ALTER TABLE public.account OWNER TO postgres; |