metasploit_data_models 1.3.0 → 2.0.0

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 (34) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.gitignore +2 -0
  5. data/Gemfile +7 -16
  6. data/app/models/mdm/workspace.rb +1 -44
  7. data/app/models/metasploit_data_models/search/visitor/where.rb +1 -1
  8. data/db/migrate/20160415153312_remove_not_null_from_web_vuln_p_arams.rb +5 -0
  9. data/lib/metasploit_data_models/version.rb +1 -1
  10. data/metasploit_data_models.gemspec +8 -9
  11. data/spec/app/models/mdm/host_spec.rb +1 -1
  12. data/spec/app/models/mdm/web_vuln_spec.rb +1 -1
  13. data/spec/app/models/mdm/workspace_spec.rb +1 -54
  14. data/spec/app/models/metasploit_data_models/search/visitor/relation_spec.rb +1 -1
  15. data/spec/dummy/bin/bundle +3 -0
  16. data/spec/dummy/bin/rails +4 -0
  17. data/spec/dummy/bin/rake +4 -0
  18. data/spec/dummy/config/boot.rb +3 -9
  19. data/spec/dummy/config/environment.rb +3 -3
  20. data/spec/dummy/config/environments/development.rb +22 -8
  21. data/spec/dummy/config/environments/production.rb +43 -31
  22. data/spec/dummy/config/environments/test.rb +19 -10
  23. data/spec/dummy/config/initializers/assets.rb +8 -0
  24. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  25. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  26. data/spec/dummy/config/initializers/inflections.rb +6 -5
  27. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  28. data/spec/dummy/config/initializers/session_store.rb +1 -6
  29. data/spec/dummy/config/initializers/wrap_parameters.rb +6 -6
  30. data/spec/dummy/config/locales/en.yml +23 -0
  31. data/spec/dummy/db/structure.sql +78 -75
  32. data/spec/spec_helper.rb +0 -5
  33. metadata +42 -52
  34. metadata.gz.sig +0 -0
@@ -1,5 +1,5 @@
1
- Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # The test environment is used exclusively to run your application's
5
5
  # test suite. You never need to work with it otherwise. Remember that
@@ -7,24 +7,33 @@ Dummy::Application.configure do
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
- # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
12
- config.static_cache_control = "public, max-age=3600"
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = 'public, max-age=3600'
13
18
 
14
- # Show full error reports and disable caching
19
+ # Show full error reports and disable caching.
15
20
  config.consider_all_requests_local = true
16
21
  config.action_controller.perform_caching = false
17
22
 
18
- # Raise exceptions instead of rendering exception templates
23
+ # Raise exceptions instead of rendering exception templates.
19
24
  config.action_dispatch.show_exceptions = false
20
25
 
21
- # Disable request forgery protection in test environment
22
- config.action_controller.allow_forgery_protection = false
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
23
28
 
24
29
  # Tell Action Mailer not to deliver emails to the real world.
25
30
  # The :test delivery method accumulates sent emails in the
26
31
  # ActionMailer::Base.deliveries array.
27
32
  config.action_mailer.delivery_method = :test
28
33
 
29
- config.eager_load = false
34
+ # Print deprecation notices to the stderr.
35
+ config.active_support.deprecation = :stderr
36
+
37
+ # Raises error for missing translations
38
+ # config.action_view.raise_on_missing_translations = true
30
39
  end
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Precompile additional assets.
7
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
8
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :marshal
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -1,15 +1,16 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
6
7
  # inflect.plural /^(ox)$/i, '\1en'
7
8
  # inflect.singular /^(ox)en/i, '\1'
8
9
  # inflect.irregular 'person', 'people'
9
10
  # inflect.uncountable %w( fish sheep )
10
11
  # end
11
- #
12
+
12
13
  # These inflection rules are supported but not enabled by default:
13
- # ActiveSupport::Inflector.inflections do |inflect|
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
14
15
  # inflect.acronym 'RESTful'
15
16
  # end
@@ -2,4 +2,3 @@
2
2
 
3
3
  # Add new mime types for use in respond_to blocks:
4
4
  # Mime::Type.register "text/richtext", :rtf
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -1,8 +1,3 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,14 +1,14 @@
1
1
  # Be sure to restart your server when you modify this file.
2
- #
2
+
3
3
  # This file contains settings for ActionController::ParamsWrapper which
4
4
  # is enabled by default.
5
5
 
6
6
  # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
7
  ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json]
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
9
  end
10
10
 
11
- # Disable root element in JSON by default.
12
- ActiveSupport.on_load(:active_record) do
13
- self.include_root_in_json = false
14
- end
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -68,7 +68,7 @@ CREATE TABLE automatic_exploitation_match_results (
68
68
  id integer NOT NULL,
69
69
  match_id integer,
70
70
  run_id integer,
71
- state character varying(255) NOT NULL,
71
+ state character varying NOT NULL,
72
72
  created_at timestamp without time zone NOT NULL,
73
73
  updated_at timestamp without time zone NOT NULL
74
74
  );
@@ -132,12 +132,12 @@ ALTER SEQUENCE automatic_exploitation_match_sets_id_seq OWNED BY automatic_explo
132
132
  CREATE TABLE automatic_exploitation_matches (
133
133
  id integer NOT NULL,
134
134
  module_detail_id integer,
135
- state character varying(255),
135
+ state character varying,
136
136
  nexpose_data_vulnerability_definition_id integer,
137
137
  created_at timestamp without time zone NOT NULL,
138
138
  updated_at timestamp without time zone NOT NULL,
139
139
  match_set_id integer,
140
- matchable_type character varying(255),
140
+ matchable_type character varying,
141
141
  matchable_id integer,
142
142
  module_fullname text
143
143
  );
@@ -244,7 +244,7 @@ CREATE TABLE creds (
244
244
  proof character varying(4096),
245
245
  ptype character varying(256),
246
246
  source_id integer,
247
- source_type character varying(255)
247
+ source_type character varying
248
248
  );
249
249
 
250
250
 
@@ -276,11 +276,11 @@ CREATE TABLE events (
276
276
  workspace_id integer,
277
277
  host_id integer,
278
278
  created_at timestamp without time zone,
279
- name character varying(255),
279
+ name character varying,
280
280
  updated_at timestamp without time zone,
281
281
  critical boolean,
282
282
  seen boolean,
283
- username character varying(255),
283
+ username character varying,
284
284
  info text
285
285
  );
286
286
 
@@ -315,13 +315,13 @@ CREATE TABLE exploit_attempts (
315
315
  vuln_id integer,
316
316
  attempted_at timestamp without time zone,
317
317
  exploited boolean,
318
- fail_reason character varying(255),
319
- username character varying(255),
318
+ fail_reason character varying,
319
+ username character varying,
320
320
  module text,
321
321
  session_id integer,
322
322
  loot_id integer,
323
323
  port integer,
324
- proto character varying(255),
324
+ proto character varying,
325
325
  fail_detail text
326
326
  );
327
327
 
@@ -389,10 +389,10 @@ CREATE TABLE host_details (
389
389
  host_id integer,
390
390
  nx_console_id integer,
391
391
  nx_device_id integer,
392
- src character varying(255),
393
- nx_site_name character varying(255),
394
- nx_site_importance character varying(255),
395
- nx_scan_template character varying(255),
392
+ src character varying,
393
+ nx_site_name character varying,
394
+ nx_site_importance character varying,
395
+ nx_scan_template character varying,
396
396
  nx_risk_score double precision
397
397
  );
398
398
 
@@ -424,15 +424,15 @@ CREATE TABLE hosts (
424
424
  id integer NOT NULL,
425
425
  created_at timestamp without time zone,
426
426
  address inet NOT NULL,
427
- mac character varying(255),
428
- comm character varying(255),
429
- name character varying(255),
430
- state character varying(255),
431
- os_name character varying(255),
432
- os_flavor character varying(255),
433
- os_sp character varying(255),
434
- os_lang character varying(255),
435
- arch character varying(255),
427
+ mac character varying,
428
+ comm character varying,
429
+ name character varying,
430
+ state character varying,
431
+ os_name character varying,
432
+ os_flavor character varying,
433
+ os_sp character varying,
434
+ os_lang character varying,
435
+ arch character varying,
436
436
  workspace_id integer NOT NULL,
437
437
  updated_at timestamp without time zone,
438
438
  purpose text,
@@ -446,7 +446,7 @@ CREATE TABLE hosts (
446
446
  host_detail_count integer DEFAULT 0,
447
447
  exploit_attempt_count integer DEFAULT 0,
448
448
  cred_count integer DEFAULT 0,
449
- detected_arch character varying(255)
449
+ detected_arch character varying
450
450
  );
451
451
 
452
452
 
@@ -552,7 +552,7 @@ CREATE TABLE loots (
552
552
  data text,
553
553
  created_at timestamp without time zone NOT NULL,
554
554
  updated_at timestamp without time zone NOT NULL,
555
- content_type character varying(255),
555
+ content_type character varying,
556
556
  name text,
557
557
  info text,
558
558
  module_run_id integer
@@ -743,18 +743,18 @@ CREATE TABLE module_details (
743
743
  id integer NOT NULL,
744
744
  mtime timestamp without time zone,
745
745
  file text,
746
- mtype character varying(255),
746
+ mtype character varying,
747
747
  refname text,
748
748
  fullname text,
749
749
  name text,
750
750
  rank integer,
751
751
  description text,
752
- license character varying(255),
752
+ license character varying,
753
753
  privileged boolean,
754
754
  disclosure_date timestamp without time zone,
755
755
  default_target integer,
756
756
  default_action text,
757
- stance character varying(255),
757
+ stance character varying,
758
758
  ready boolean
759
759
  );
760
760
 
@@ -876,16 +876,16 @@ CREATE TABLE module_runs (
876
876
  id integer NOT NULL,
877
877
  attempted_at timestamp without time zone,
878
878
  fail_detail text,
879
- fail_reason character varying(255),
879
+ fail_reason character varying,
880
880
  module_fullname text,
881
881
  port integer,
882
- proto character varying(255),
882
+ proto character varying,
883
883
  session_id integer,
884
- status character varying(255),
884
+ status character varying,
885
885
  trackable_id integer,
886
- trackable_type character varying(255),
886
+ trackable_type character varying,
887
887
  user_id integer,
888
- username character varying(255),
888
+ username character varying,
889
889
  created_at timestamp without time zone NOT NULL,
890
890
  updated_at timestamp without time zone NOT NULL
891
891
  );
@@ -1093,7 +1093,7 @@ ALTER SEQUENCE refs_id_seq OWNED BY refs.id;
1093
1093
  CREATE TABLE report_templates (
1094
1094
  id integer NOT NULL,
1095
1095
  workspace_id integer DEFAULT 1 NOT NULL,
1096
- created_by character varying(255),
1096
+ created_by character varying,
1097
1097
  path character varying(1024),
1098
1098
  name text,
1099
1099
  created_at timestamp without time zone NOT NULL,
@@ -1127,8 +1127,8 @@ ALTER SEQUENCE report_templates_id_seq OWNED BY report_templates.id;
1127
1127
  CREATE TABLE reports (
1128
1128
  id integer NOT NULL,
1129
1129
  workspace_id integer DEFAULT 1 NOT NULL,
1130
- created_by character varying(255),
1131
- rtype character varying(255),
1130
+ created_by character varying,
1131
+ rtype character varying,
1132
1132
  path character varying(1024),
1133
1133
  options text,
1134
1134
  created_at timestamp without time zone NOT NULL,
@@ -1165,8 +1165,8 @@ ALTER SEQUENCE reports_id_seq OWNED BY reports.id;
1165
1165
  CREATE TABLE routes (
1166
1166
  id integer NOT NULL,
1167
1167
  session_id integer,
1168
- subnet character varying(255),
1169
- netmask character varying(255)
1168
+ subnet character varying,
1169
+ netmask character varying
1170
1170
  );
1171
1171
 
1172
1172
 
@@ -1194,7 +1194,7 @@ ALTER SEQUENCE routes_id_seq OWNED BY routes.id;
1194
1194
  --
1195
1195
 
1196
1196
  CREATE TABLE schema_migrations (
1197
- version character varying(255) NOT NULL
1197
+ version character varying NOT NULL
1198
1198
  );
1199
1199
 
1200
1200
 
@@ -1208,8 +1208,8 @@ CREATE TABLE services (
1208
1208
  created_at timestamp without time zone,
1209
1209
  port integer NOT NULL,
1210
1210
  proto character varying(16) NOT NULL,
1211
- state character varying(255),
1212
- name character varying(255),
1211
+ state character varying,
1212
+ name character varying,
1213
1213
  updated_at timestamp without time zone,
1214
1214
  info text
1215
1215
  );
@@ -1241,11 +1241,11 @@ ALTER SEQUENCE services_id_seq OWNED BY services.id;
1241
1241
  CREATE TABLE session_events (
1242
1242
  id integer NOT NULL,
1243
1243
  session_id integer,
1244
- etype character varying(255),
1244
+ etype character varying,
1245
1245
  command bytea,
1246
1246
  output bytea,
1247
- remote_path character varying(255),
1248
- local_path character varying(255),
1247
+ remote_path character varying,
1248
+ local_path character varying,
1249
1249
  created_at timestamp without time zone
1250
1250
  );
1251
1251
 
@@ -1276,16 +1276,16 @@ ALTER SEQUENCE session_events_id_seq OWNED BY session_events.id;
1276
1276
  CREATE TABLE sessions (
1277
1277
  id integer NOT NULL,
1278
1278
  host_id integer,
1279
- stype character varying(255),
1280
- via_exploit character varying(255),
1281
- via_payload character varying(255),
1282
- "desc" character varying(255),
1279
+ stype character varying,
1280
+ via_exploit character varying,
1281
+ via_payload character varying,
1282
+ "desc" character varying,
1283
1283
  port integer,
1284
- platform character varying(255),
1284
+ platform character varying,
1285
1285
  datastore text,
1286
1286
  opened_at timestamp without time zone NOT NULL,
1287
1287
  closed_at timestamp without time zone,
1288
- close_reason character varying(255),
1288
+ close_reason character varying,
1289
1289
  local_id integer,
1290
1290
  last_seen timestamp without time zone,
1291
1291
  module_run_id integer
@@ -1482,12 +1482,12 @@ ALTER SEQUENCE task_sessions_id_seq OWNED BY task_sessions.id;
1482
1482
  CREATE TABLE tasks (
1483
1483
  id integer NOT NULL,
1484
1484
  workspace_id integer DEFAULT 1 NOT NULL,
1485
- created_by character varying(255),
1486
- module character varying(255),
1485
+ created_by character varying,
1486
+ module character varying,
1487
1487
  completed_at timestamp without time zone,
1488
1488
  path character varying(1024),
1489
- info character varying(255),
1490
- description character varying(255),
1489
+ info character varying,
1490
+ description character varying,
1491
1491
  progress integer,
1492
1492
  options text,
1493
1493
  error text,
@@ -1524,16 +1524,16 @@ ALTER SEQUENCE tasks_id_seq OWNED BY tasks.id;
1524
1524
 
1525
1525
  CREATE TABLE users (
1526
1526
  id integer NOT NULL,
1527
- username character varying(255),
1528
- crypted_password character varying(255),
1529
- password_salt character varying(255),
1530
- persistence_token character varying(255),
1527
+ username character varying,
1528
+ crypted_password character varying,
1529
+ password_salt character varying,
1530
+ persistence_token character varying,
1531
1531
  created_at timestamp without time zone NOT NULL,
1532
1532
  updated_at timestamp without time zone NOT NULL,
1533
- fullname character varying(255),
1534
- email character varying(255),
1535
- phone character varying(255),
1536
- company character varying(255),
1533
+ fullname character varying,
1534
+ email character varying,
1535
+ phone character varying,
1536
+ company character varying,
1537
1537
  prefs character varying(524288),
1538
1538
  admin boolean DEFAULT true NOT NULL
1539
1539
  );
@@ -1567,8 +1567,8 @@ CREATE TABLE vuln_attempts (
1567
1567
  vuln_id integer,
1568
1568
  attempted_at timestamp without time zone,
1569
1569
  exploited boolean,
1570
- fail_reason character varying(255),
1571
- username character varying(255),
1570
+ fail_reason character varying,
1571
+ username character varying,
1572
1572
  module text,
1573
1573
  session_id integer,
1574
1574
  loot_id integer,
@@ -1603,14 +1603,14 @@ CREATE TABLE vuln_details (
1603
1603
  id integer NOT NULL,
1604
1604
  vuln_id integer,
1605
1605
  cvss_score double precision,
1606
- cvss_vector character varying(255),
1607
- title character varying(255),
1606
+ cvss_vector character varying,
1607
+ title character varying,
1608
1608
  description text,
1609
1609
  solution text,
1610
1610
  proof bytea,
1611
1611
  nx_console_id integer,
1612
1612
  nx_device_id integer,
1613
- nx_vuln_id character varying(255),
1613
+ nx_vuln_id character varying,
1614
1614
  nx_severity double precision,
1615
1615
  nx_pci_severity double precision,
1616
1616
  nx_published timestamp without time zone,
@@ -1619,10 +1619,10 @@ CREATE TABLE vuln_details (
1619
1619
  nx_tags text,
1620
1620
  nx_vuln_status text,
1621
1621
  nx_proof_key text,
1622
- src character varying(255),
1622
+ src character varying,
1623
1623
  nx_scan_id integer,
1624
1624
  nx_vulnerable_since timestamp without time zone,
1625
- nx_pci_compliance_status character varying(255)
1625
+ nx_pci_compliance_status character varying
1626
1626
  );
1627
1627
 
1628
1628
 
@@ -1654,14 +1654,14 @@ CREATE TABLE vulns (
1654
1654
  host_id integer,
1655
1655
  service_id integer,
1656
1656
  created_at timestamp without time zone,
1657
- name character varying(255),
1657
+ name character varying,
1658
1658
  updated_at timestamp without time zone,
1659
1659
  info character varying(65536),
1660
1660
  exploited_at timestamp without time zone,
1661
1661
  vuln_detail_count integer DEFAULT 0,
1662
1662
  vuln_attempt_count integer DEFAULT 0,
1663
1663
  origin_id integer,
1664
- origin_type character varying(255)
1664
+ origin_type character varying
1665
1665
  );
1666
1666
 
1667
1667
 
@@ -1836,7 +1836,7 @@ CREATE TABLE web_vulns (
1836
1836
  updated_at timestamp without time zone NOT NULL,
1837
1837
  path text NOT NULL,
1838
1838
  method character varying(1024) NOT NULL,
1839
- params text NOT NULL,
1839
+ params text,
1840
1840
  pname text,
1841
1841
  risk integer NOT NULL,
1842
1842
  name character varying(1024) NOT NULL,
@@ -1847,7 +1847,7 @@ CREATE TABLE web_vulns (
1847
1847
  blame text,
1848
1848
  request bytea,
1849
1849
  proof bytea NOT NULL,
1850
- owner character varying(255),
1850
+ owner character varying,
1851
1851
  payload text
1852
1852
  );
1853
1853
 
@@ -1877,7 +1877,7 @@ ALTER SEQUENCE web_vulns_id_seq OWNED BY web_vulns.id;
1877
1877
 
1878
1878
  CREATE TABLE wmap_requests (
1879
1879
  id integer NOT NULL,
1880
- host character varying(255),
1880
+ host character varying,
1881
1881
  address inet,
1882
1882
  port integer,
1883
1883
  ssl integer,
@@ -1919,7 +1919,7 @@ ALTER SEQUENCE wmap_requests_id_seq OWNED BY wmap_requests.id;
1919
1919
 
1920
1920
  CREATE TABLE wmap_targets (
1921
1921
  id integer NOT NULL,
1922
- host character varying(255),
1922
+ host character varying,
1923
1923
  address inet,
1924
1924
  port integer,
1925
1925
  ssl integer,
@@ -1964,7 +1964,7 @@ CREATE TABLE workspace_members (
1964
1964
 
1965
1965
  CREATE TABLE workspaces (
1966
1966
  id integer NOT NULL,
1967
- name character varying(255),
1967
+ name character varying,
1968
1968
  created_at timestamp without time zone NOT NULL,
1969
1969
  updated_at timestamp without time zone NOT NULL,
1970
1970
  boundary character varying(4096),
@@ -3392,6 +3392,8 @@ INSERT INTO schema_migrations (version) VALUES ('20150421211719');
3392
3392
 
3393
3393
  INSERT INTO schema_migrations (version) VALUES ('20150514182921');
3394
3394
 
3395
+ INSERT INTO schema_migrations (version) VALUES ('20160415153312');
3396
+
3395
3397
  INSERT INTO schema_migrations (version) VALUES ('21');
3396
3398
 
3397
3399
  INSERT INTO schema_migrations (version) VALUES ('22');
@@ -3417,3 +3419,4 @@ INSERT INTO schema_migrations (version) VALUES ('7');
3417
3419
  INSERT INTO schema_migrations (version) VALUES ('8');
3418
3420
 
3419
3421
  INSERT INTO schema_migrations (version) VALUES ('9');
3422
+