activerecord-postgres-hstore 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. data/.rspec +1 -0
  2. data/Gemfile +14 -0
  3. data/Gemfile.lock +38 -0
  4. data/README.textile +23 -6
  5. data/Rakefile +37 -28
  6. data/VERSION +1 -1
  7. data/activerecord-postgres-hstore.gemspec +127 -0
  8. data/app/.gitignore +4 -0
  9. data/app/Gemfile +27 -0
  10. data/app/Gemfile.lock +75 -0
  11. data/app/README +256 -0
  12. data/app/Rakefile +7 -0
  13. data/app/app/controllers/application_controller.rb +3 -0
  14. data/app/app/helpers/application_helper.rb +2 -0
  15. data/app/app/models/bar.rb +3 -0
  16. data/app/app/models/foo.rb +3 -0
  17. data/app/app/views/layouts/application.html.erb +14 -0
  18. data/app/bench.rb +76 -0
  19. data/app/bench_results.txt +13 -0
  20. data/app/config.ru +4 -0
  21. data/app/config/application.rb +42 -0
  22. data/app/config/boot.rb +13 -0
  23. data/app/config/database.yml +51 -0
  24. data/app/config/environment.rb +5 -0
  25. data/app/config/environments/development.rb +22 -0
  26. data/app/config/environments/production.rb +49 -0
  27. data/app/config/environments/test.rb +35 -0
  28. data/app/config/initializers/activerecord_postgres_hstore.rb +0 -0
  29. data/app/config/initializers/backtrace_silencers.rb +7 -0
  30. data/app/config/initializers/inflections.rb +10 -0
  31. data/app/config/initializers/mime_types.rb +5 -0
  32. data/app/config/initializers/secret_token.rb +7 -0
  33. data/app/config/initializers/session_store.rb +8 -0
  34. data/app/config/locales/en.yml +5 -0
  35. data/app/config/routes.rb +58 -0
  36. data/app/db/development_structure.sql +578 -0
  37. data/app/db/migrate/20100906191151_add_hstore.rb +276 -0
  38. data/app/db/migrate/20100906191457_create_foos.rb +13 -0
  39. data/app/db/migrate/20100906191506_create_bars.rb +12 -0
  40. data/app/db/schema.rb +15 -0
  41. data/app/db/seeds.rb +7 -0
  42. data/app/doc/README_FOR_APP +2 -0
  43. data/app/generate_copy_files.rb +47 -0
  44. data/app/lib/tasks/.gitkeep +0 -0
  45. data/app/public/404.html +26 -0
  46. data/app/public/422.html +26 -0
  47. data/app/public/500.html +26 -0
  48. data/app/public/favicon.ico +0 -0
  49. data/app/public/images/rails.png +0 -0
  50. data/app/public/index.html +262 -0
  51. data/app/public/javascripts/.gitkeep +0 -0
  52. data/app/public/javascripts/application.js +0 -0
  53. data/app/public/robots.txt +5 -0
  54. data/app/public/stylesheets/.gitkeep +0 -0
  55. data/app/script/rails +6 -0
  56. data/app/test/performance/browsing_test.rb +9 -0
  57. data/app/test/test_helper.rb +6 -0
  58. data/app/test/unit/bar_test.rb +133 -0
  59. data/app/test/unit/foo_test.rb +8 -0
  60. data/app/vendor/plugins/.gitkeep +0 -0
  61. data/lib/activerecord-postgres-hstore/hash.rb +1 -1
  62. data/lib/activerecord-postgres-hstore/string.rb +4 -0
  63. data/spec/activerecord-postgres-hstore_spec.rb +13 -9
  64. data/spec/spec_helper.rb +4 -4
  65. metadata +162 -20
  66. data/.gitignore +0 -21
@@ -0,0 +1,578 @@
1
+ --
2
+ -- PostgreSQL database dump
3
+ --
4
+
5
+ SET statement_timeout = 0;
6
+ SET client_encoding = 'UTF8';
7
+ SET standard_conforming_strings = off;
8
+ SET check_function_bodies = false;
9
+ SET client_min_messages = warning;
10
+ SET escape_string_warning = off;
11
+
12
+ SET search_path = public, pg_catalog;
13
+
14
+ --
15
+ -- Name: ghstore; Type: SHELL TYPE; Schema: public; Owner: -
16
+ --
17
+
18
+ CREATE TYPE ghstore;
19
+
20
+
21
+ --
22
+ -- Name: ghstore_in(cstring); Type: FUNCTION; Schema: public; Owner: -
23
+ --
24
+
25
+ CREATE FUNCTION ghstore_in(cstring) RETURNS ghstore
26
+ LANGUAGE c STRICT
27
+ AS '$libdir/hstore', 'ghstore_in';
28
+
29
+
30
+ --
31
+ -- Name: ghstore_out(ghstore); Type: FUNCTION; Schema: public; Owner: -
32
+ --
33
+
34
+ CREATE FUNCTION ghstore_out(ghstore) RETURNS cstring
35
+ LANGUAGE c STRICT
36
+ AS '$libdir/hstore', 'ghstore_out';
37
+
38
+
39
+ --
40
+ -- Name: ghstore; Type: TYPE; Schema: public; Owner: -
41
+ --
42
+
43
+ CREATE TYPE ghstore (
44
+ INTERNALLENGTH = variable,
45
+ INPUT = ghstore_in,
46
+ OUTPUT = ghstore_out,
47
+ ALIGNMENT = int4,
48
+ STORAGE = plain
49
+ );
50
+
51
+
52
+ --
53
+ -- Name: hstore; Type: SHELL TYPE; Schema: public; Owner: -
54
+ --
55
+
56
+ CREATE TYPE hstore;
57
+
58
+
59
+ --
60
+ -- Name: hstore_in(cstring); Type: FUNCTION; Schema: public; Owner: -
61
+ --
62
+
63
+ CREATE FUNCTION hstore_in(cstring) RETURNS hstore
64
+ LANGUAGE c STRICT
65
+ AS '$libdir/hstore', 'hstore_in';
66
+
67
+
68
+ --
69
+ -- Name: hstore_out(hstore); Type: FUNCTION; Schema: public; Owner: -
70
+ --
71
+
72
+ CREATE FUNCTION hstore_out(hstore) RETURNS cstring
73
+ LANGUAGE c STRICT
74
+ AS '$libdir/hstore', 'hstore_out';
75
+
76
+
77
+ --
78
+ -- Name: hstore; Type: TYPE; Schema: public; Owner: -
79
+ --
80
+
81
+ CREATE TYPE hstore (
82
+ INTERNALLENGTH = variable,
83
+ INPUT = hstore_in,
84
+ OUTPUT = hstore_out,
85
+ ALIGNMENT = int4,
86
+ STORAGE = extended
87
+ );
88
+
89
+
90
+ --
91
+ -- Name: akeys(hstore); Type: FUNCTION; Schema: public; Owner: -
92
+ --
93
+
94
+ CREATE FUNCTION akeys(hstore) RETURNS text[]
95
+ LANGUAGE c IMMUTABLE STRICT
96
+ AS '$libdir/hstore', 'akeys';
97
+
98
+
99
+ --
100
+ -- Name: avals(hstore); Type: FUNCTION; Schema: public; Owner: -
101
+ --
102
+
103
+ CREATE FUNCTION avals(hstore) RETURNS text[]
104
+ LANGUAGE c IMMUTABLE STRICT
105
+ AS '$libdir/hstore', 'avals';
106
+
107
+
108
+ --
109
+ -- Name: defined(hstore, text); Type: FUNCTION; Schema: public; Owner: -
110
+ --
111
+
112
+ CREATE FUNCTION defined(hstore, text) RETURNS boolean
113
+ LANGUAGE c IMMUTABLE STRICT
114
+ AS '$libdir/hstore', 'defined';
115
+
116
+
117
+ --
118
+ -- Name: delete(hstore, text); Type: FUNCTION; Schema: public; Owner: -
119
+ --
120
+
121
+ CREATE FUNCTION delete(hstore, text) RETURNS hstore
122
+ LANGUAGE c IMMUTABLE STRICT
123
+ AS '$libdir/hstore', 'delete';
124
+
125
+
126
+ --
127
+ -- Name: each(hstore); Type: FUNCTION; Schema: public; Owner: -
128
+ --
129
+
130
+ CREATE FUNCTION each(hs hstore, OUT key text, OUT value text) RETURNS SETOF record
131
+ LANGUAGE c IMMUTABLE STRICT
132
+ AS '$libdir/hstore', 'each';
133
+
134
+
135
+ --
136
+ -- Name: exist(hstore, text); Type: FUNCTION; Schema: public; Owner: -
137
+ --
138
+
139
+ CREATE FUNCTION exist(hstore, text) RETURNS boolean
140
+ LANGUAGE c IMMUTABLE STRICT
141
+ AS '$libdir/hstore', 'exists';
142
+
143
+
144
+ --
145
+ -- Name: fetchval(hstore, text); Type: FUNCTION; Schema: public; Owner: -
146
+ --
147
+
148
+ CREATE FUNCTION fetchval(hstore, text) RETURNS text
149
+ LANGUAGE c IMMUTABLE STRICT
150
+ AS '$libdir/hstore', 'fetchval';
151
+
152
+
153
+ --
154
+ -- Name: ghstore_compress(internal); Type: FUNCTION; Schema: public; Owner: -
155
+ --
156
+
157
+ CREATE FUNCTION ghstore_compress(internal) RETURNS internal
158
+ LANGUAGE c IMMUTABLE STRICT
159
+ AS '$libdir/hstore', 'ghstore_compress';
160
+
161
+
162
+ --
163
+ -- Name: ghstore_consistent(internal, internal, integer, oid, internal); Type: FUNCTION; Schema: public; Owner: -
164
+ --
165
+
166
+ CREATE FUNCTION ghstore_consistent(internal, internal, integer, oid, internal) RETURNS boolean
167
+ LANGUAGE c IMMUTABLE STRICT
168
+ AS '$libdir/hstore', 'ghstore_consistent';
169
+
170
+
171
+ --
172
+ -- Name: ghstore_decompress(internal); Type: FUNCTION; Schema: public; Owner: -
173
+ --
174
+
175
+ CREATE FUNCTION ghstore_decompress(internal) RETURNS internal
176
+ LANGUAGE c IMMUTABLE STRICT
177
+ AS '$libdir/hstore', 'ghstore_decompress';
178
+
179
+
180
+ --
181
+ -- Name: ghstore_penalty(internal, internal, internal); Type: FUNCTION; Schema: public; Owner: -
182
+ --
183
+
184
+ CREATE FUNCTION ghstore_penalty(internal, internal, internal) RETURNS internal
185
+ LANGUAGE c IMMUTABLE STRICT
186
+ AS '$libdir/hstore', 'ghstore_penalty';
187
+
188
+
189
+ --
190
+ -- Name: ghstore_picksplit(internal, internal); Type: FUNCTION; Schema: public; Owner: -
191
+ --
192
+
193
+ CREATE FUNCTION ghstore_picksplit(internal, internal) RETURNS internal
194
+ LANGUAGE c IMMUTABLE STRICT
195
+ AS '$libdir/hstore', 'ghstore_picksplit';
196
+
197
+
198
+ --
199
+ -- Name: ghstore_same(internal, internal, internal); Type: FUNCTION; Schema: public; Owner: -
200
+ --
201
+
202
+ CREATE FUNCTION ghstore_same(internal, internal, internal) RETURNS internal
203
+ LANGUAGE c IMMUTABLE STRICT
204
+ AS '$libdir/hstore', 'ghstore_same';
205
+
206
+
207
+ --
208
+ -- Name: ghstore_union(internal, internal); Type: FUNCTION; Schema: public; Owner: -
209
+ --
210
+
211
+ CREATE FUNCTION ghstore_union(internal, internal) RETURNS internal
212
+ LANGUAGE c IMMUTABLE STRICT
213
+ AS '$libdir/hstore', 'ghstore_union';
214
+
215
+
216
+ --
217
+ -- Name: gin_consistent_hstore(internal, smallint, internal, integer, internal, internal); Type: FUNCTION; Schema: public; Owner: -
218
+ --
219
+
220
+ CREATE FUNCTION gin_consistent_hstore(internal, smallint, internal, integer, internal, internal) RETURNS boolean
221
+ LANGUAGE c IMMUTABLE STRICT
222
+ AS '$libdir/hstore', 'gin_consistent_hstore';
223
+
224
+
225
+ --
226
+ -- Name: gin_extract_hstore(internal, internal); Type: FUNCTION; Schema: public; Owner: -
227
+ --
228
+
229
+ CREATE FUNCTION gin_extract_hstore(internal, internal) RETURNS internal
230
+ LANGUAGE c IMMUTABLE STRICT
231
+ AS '$libdir/hstore', 'gin_extract_hstore';
232
+
233
+
234
+ --
235
+ -- Name: gin_extract_hstore_query(internal, internal, smallint, internal, internal); Type: FUNCTION; Schema: public; Owner: -
236
+ --
237
+
238
+ CREATE FUNCTION gin_extract_hstore_query(internal, internal, smallint, internal, internal) RETURNS internal
239
+ LANGUAGE c IMMUTABLE STRICT
240
+ AS '$libdir/hstore', 'gin_extract_hstore_query';
241
+
242
+
243
+ --
244
+ -- Name: hs_concat(hstore, hstore); Type: FUNCTION; Schema: public; Owner: -
245
+ --
246
+
247
+ CREATE FUNCTION hs_concat(hstore, hstore) RETURNS hstore
248
+ LANGUAGE c IMMUTABLE STRICT
249
+ AS '$libdir/hstore', 'hs_concat';
250
+
251
+
252
+ --
253
+ -- Name: hs_contained(hstore, hstore); Type: FUNCTION; Schema: public; Owner: -
254
+ --
255
+
256
+ CREATE FUNCTION hs_contained(hstore, hstore) RETURNS boolean
257
+ LANGUAGE c IMMUTABLE STRICT
258
+ AS '$libdir/hstore', 'hs_contained';
259
+
260
+
261
+ --
262
+ -- Name: hs_contains(hstore, hstore); Type: FUNCTION; Schema: public; Owner: -
263
+ --
264
+
265
+ CREATE FUNCTION hs_contains(hstore, hstore) RETURNS boolean
266
+ LANGUAGE c IMMUTABLE STRICT
267
+ AS '$libdir/hstore', 'hs_contains';
268
+
269
+
270
+ --
271
+ -- Name: isdefined(hstore, text); Type: FUNCTION; Schema: public; Owner: -
272
+ --
273
+
274
+ CREATE FUNCTION isdefined(hstore, text) RETURNS boolean
275
+ LANGUAGE c IMMUTABLE STRICT
276
+ AS '$libdir/hstore', 'defined';
277
+
278
+
279
+ --
280
+ -- Name: isexists(hstore, text); Type: FUNCTION; Schema: public; Owner: -
281
+ --
282
+
283
+ CREATE FUNCTION isexists(hstore, text) RETURNS boolean
284
+ LANGUAGE c IMMUTABLE STRICT
285
+ AS '$libdir/hstore', 'exists';
286
+
287
+
288
+ --
289
+ -- Name: skeys(hstore); Type: FUNCTION; Schema: public; Owner: -
290
+ --
291
+
292
+ CREATE FUNCTION skeys(hstore) RETURNS SETOF text
293
+ LANGUAGE c IMMUTABLE STRICT
294
+ AS '$libdir/hstore', 'skeys';
295
+
296
+
297
+ --
298
+ -- Name: svals(hstore); Type: FUNCTION; Schema: public; Owner: -
299
+ --
300
+
301
+ CREATE FUNCTION svals(hstore) RETURNS SETOF text
302
+ LANGUAGE c IMMUTABLE STRICT
303
+ AS '$libdir/hstore', 'svals';
304
+
305
+
306
+ --
307
+ -- Name: tconvert(text, text); Type: FUNCTION; Schema: public; Owner: -
308
+ --
309
+
310
+ CREATE FUNCTION tconvert(text, text) RETURNS hstore
311
+ LANGUAGE c IMMUTABLE
312
+ AS '$libdir/hstore', 'tconvert';
313
+
314
+
315
+ --
316
+ -- Name: ->; Type: OPERATOR; Schema: public; Owner: -
317
+ --
318
+
319
+ CREATE OPERATOR -> (
320
+ PROCEDURE = fetchval,
321
+ LEFTARG = hstore,
322
+ RIGHTARG = text
323
+ );
324
+
325
+
326
+ --
327
+ -- Name: <@; Type: OPERATOR; Schema: public; Owner: -
328
+ --
329
+
330
+ CREATE OPERATOR <@ (
331
+ PROCEDURE = hs_contained,
332
+ LEFTARG = hstore,
333
+ RIGHTARG = hstore,
334
+ COMMUTATOR = @>,
335
+ RESTRICT = contsel,
336
+ JOIN = contjoinsel
337
+ );
338
+
339
+
340
+ --
341
+ -- Name: =>; Type: OPERATOR; Schema: public; Owner: -
342
+ --
343
+
344
+ CREATE OPERATOR => (
345
+ PROCEDURE = tconvert,
346
+ LEFTARG = text,
347
+ RIGHTARG = text
348
+ );
349
+
350
+
351
+ --
352
+ -- Name: ?; Type: OPERATOR; Schema: public; Owner: -
353
+ --
354
+
355
+ CREATE OPERATOR ? (
356
+ PROCEDURE = exist,
357
+ LEFTARG = hstore,
358
+ RIGHTARG = text,
359
+ RESTRICT = contsel,
360
+ JOIN = contjoinsel
361
+ );
362
+
363
+
364
+ --
365
+ -- Name: @; Type: OPERATOR; Schema: public; Owner: -
366
+ --
367
+
368
+ CREATE OPERATOR @ (
369
+ PROCEDURE = hs_contains,
370
+ LEFTARG = hstore,
371
+ RIGHTARG = hstore,
372
+ COMMUTATOR = ~,
373
+ RESTRICT = contsel,
374
+ JOIN = contjoinsel
375
+ );
376
+
377
+
378
+ --
379
+ -- Name: @>; Type: OPERATOR; Schema: public; Owner: -
380
+ --
381
+
382
+ CREATE OPERATOR @> (
383
+ PROCEDURE = hs_contains,
384
+ LEFTARG = hstore,
385
+ RIGHTARG = hstore,
386
+ COMMUTATOR = <@,
387
+ RESTRICT = contsel,
388
+ JOIN = contjoinsel
389
+ );
390
+
391
+
392
+ --
393
+ -- Name: ||; Type: OPERATOR; Schema: public; Owner: -
394
+ --
395
+
396
+ CREATE OPERATOR || (
397
+ PROCEDURE = hs_concat,
398
+ LEFTARG = hstore,
399
+ RIGHTARG = hstore
400
+ );
401
+
402
+
403
+ --
404
+ -- Name: ~; Type: OPERATOR; Schema: public; Owner: -
405
+ --
406
+
407
+ CREATE OPERATOR ~ (
408
+ PROCEDURE = hs_contained,
409
+ LEFTARG = hstore,
410
+ RIGHTARG = hstore,
411
+ COMMUTATOR = @,
412
+ RESTRICT = contsel,
413
+ JOIN = contjoinsel
414
+ );
415
+
416
+
417
+ --
418
+ -- Name: gin_hstore_ops; Type: OPERATOR CLASS; Schema: public; Owner: -
419
+ --
420
+
421
+ CREATE OPERATOR CLASS gin_hstore_ops
422
+ DEFAULT FOR TYPE hstore USING gin AS
423
+ STORAGE text ,
424
+ OPERATOR 7 @>(hstore,hstore) ,
425
+ OPERATOR 9 ?(hstore,text) ,
426
+ FUNCTION 1 bttextcmp(text,text) ,
427
+ FUNCTION 2 gin_extract_hstore(internal,internal) ,
428
+ FUNCTION 3 gin_extract_hstore_query(internal,internal,smallint,internal,internal) ,
429
+ FUNCTION 4 gin_consistent_hstore(internal,smallint,internal,integer,internal,internal);
430
+
431
+
432
+ --
433
+ -- Name: gist_hstore_ops; Type: OPERATOR CLASS; Schema: public; Owner: -
434
+ --
435
+
436
+ CREATE OPERATOR CLASS gist_hstore_ops
437
+ DEFAULT FOR TYPE hstore USING gist AS
438
+ STORAGE ghstore ,
439
+ OPERATOR 7 @>(hstore,hstore) ,
440
+ OPERATOR 9 ?(hstore,text) ,
441
+ OPERATOR 13 @(hstore,hstore) ,
442
+ FUNCTION 1 ghstore_consistent(internal,internal,integer,oid,internal) ,
443
+ FUNCTION 2 ghstore_union(internal,internal) ,
444
+ FUNCTION 3 ghstore_compress(internal) ,
445
+ FUNCTION 4 ghstore_decompress(internal) ,
446
+ FUNCTION 5 ghstore_penalty(internal,internal,internal) ,
447
+ FUNCTION 6 ghstore_picksplit(internal,internal) ,
448
+ FUNCTION 7 ghstore_same(internal,internal,internal);
449
+
450
+
451
+ SET default_tablespace = '';
452
+
453
+ SET default_with_oids = false;
454
+
455
+ --
456
+ -- Name: bars; Type: TABLE; Schema: public; Owner: -; Tablespace:
457
+ --
458
+
459
+ CREATE TABLE bars (
460
+ id integer NOT NULL,
461
+ data hstore,
462
+ created_at timestamp without time zone,
463
+ updated_at timestamp without time zone
464
+ );
465
+
466
+
467
+ --
468
+ -- Name: bars_id_seq; Type: SEQUENCE; Schema: public; Owner: -
469
+ --
470
+
471
+ CREATE SEQUENCE bars_id_seq
472
+ START WITH 1
473
+ INCREMENT BY 1
474
+ NO MAXVALUE
475
+ NO MINVALUE
476
+ CACHE 1;
477
+
478
+
479
+ --
480
+ -- Name: bars_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
481
+ --
482
+
483
+ ALTER SEQUENCE bars_id_seq OWNED BY bars.id;
484
+
485
+
486
+ --
487
+ -- Name: foos; Type: TABLE; Schema: public; Owner: -; Tablespace:
488
+ --
489
+
490
+ CREATE TABLE foos (
491
+ id integer NOT NULL,
492
+ data text,
493
+ created_at timestamp without time zone,
494
+ updated_at timestamp without time zone
495
+ );
496
+
497
+
498
+ --
499
+ -- Name: foos_id_seq; Type: SEQUENCE; Schema: public; Owner: -
500
+ --
501
+
502
+ CREATE SEQUENCE foos_id_seq
503
+ START WITH 1
504
+ INCREMENT BY 1
505
+ NO MAXVALUE
506
+ NO MINVALUE
507
+ CACHE 1;
508
+
509
+
510
+ --
511
+ -- Name: foos_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
512
+ --
513
+
514
+ ALTER SEQUENCE foos_id_seq OWNED BY foos.id;
515
+
516
+
517
+ --
518
+ -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
519
+ --
520
+
521
+ CREATE TABLE schema_migrations (
522
+ version character varying(255) NOT NULL
523
+ );
524
+
525
+
526
+ --
527
+ -- Name: id; Type: DEFAULT; Schema: public; Owner: -
528
+ --
529
+
530
+ ALTER TABLE bars ALTER COLUMN id SET DEFAULT nextval('bars_id_seq'::regclass);
531
+
532
+
533
+ --
534
+ -- Name: id; Type: DEFAULT; Schema: public; Owner: -
535
+ --
536
+
537
+ ALTER TABLE foos ALTER COLUMN id SET DEFAULT nextval('foos_id_seq'::regclass);
538
+
539
+
540
+ --
541
+ -- Name: bars_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
542
+ --
543
+
544
+ ALTER TABLE ONLY bars
545
+ ADD CONSTRAINT bars_pkey PRIMARY KEY (id);
546
+
547
+
548
+ --
549
+ -- Name: foos_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
550
+ --
551
+
552
+ ALTER TABLE ONLY foos
553
+ ADD CONSTRAINT foos_pkey PRIMARY KEY (id);
554
+
555
+
556
+ --
557
+ -- Name: bars_gin_data; Type: INDEX; Schema: public; Owner: -; Tablespace:
558
+ --
559
+
560
+ CREATE INDEX bars_gin_data ON bars USING gin (data);
561
+
562
+
563
+ --
564
+ -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
565
+ --
566
+
567
+ CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
568
+
569
+
570
+ --
571
+ -- PostgreSQL database dump complete
572
+ --
573
+
574
+ INSERT INTO schema_migrations (version) VALUES ('20100906191151');
575
+
576
+ INSERT INTO schema_migrations (version) VALUES ('20100906191457');
577
+
578
+ INSERT INTO schema_migrations (version) VALUES ('20100906191506');