markbates / mack-more

All the extra stuff you could want for the Mack Framework.

mack-more / mack-data_mapper / spec / fixtures / test_test_postgres_schema_structure.sql.fixture
100644 96 lines (65 sloc) 1.728 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
--
-- PostgreSQL database dump
--
 
SET client_encoding = 'UTF8';
SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;
 
--
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: -
--
 
COMMENT ON SCHEMA public IS 'Standard public schema';
 
 
--
-- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner: -
--
 
CREATE PROCEDURAL LANGUAGE plpgsql;
 
 
SET search_path = public, pg_catalog;
 
--
-- Name: cottages_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
 
CREATE SEQUENCE cottages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;
 
 
SET default_tablespace = '';
 
SET default_with_oids = false;
 
--
-- Name: cottages; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
 
CREATE TABLE cottages (
    id integer DEFAULT nextval('cottages_id_seq'::regclass) NOT NULL,
    created_at timestamp without time zone
);
 
 
--
-- Name: houses_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
 
CREATE SEQUENCE houses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MAXVALUE
    NO MINVALUE
    CACHE 1;
 
 
--
-- Name: houses; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
 
CREATE TABLE houses (
    id integer DEFAULT nextval('houses_id_seq'::regclass) NOT NULL,
    color character varying(50),
    address text
);
 
 
--
-- Name: cottages_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
 
ALTER TABLE ONLY cottages
    ADD CONSTRAINT cottages_pkey PRIMARY KEY (id);
 
 
--
-- Name: houses_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
 
ALTER TABLE ONLY houses
    ADD CONSTRAINT houses_pkey PRIMARY KEY (id);
 
 
--
-- PostgreSQL database dump complete
--