discourse/script/import_scripts
Sam 5f64fd0a21 DEV: remove exec_sql and replace with mini_sql
Introduce new patterns for direct sql that are safe and fast.

MiniSql is not prone to memory bloat that can happen with direct PG usage.
It also has an extremely fast materializer and very a convenient API

- DB.exec(sql, *params) => runs sql returns row count
- DB.query(sql, *params) => runs sql returns usable objects (not a hash)
- DB.query_hash(sql, *params) => runs sql returns an array of hashes
- DB.query_single(sql, *params) => runs sql and returns a flat one dimensional array
- DB.build(sql) => returns a sql builder

See more at: https://github.com/discourse/mini_sql
2018-06-19 16:13:36 +10:00
..
base Use short upload URL in import scripts 2018-06-17 22:57:32 +02:00
mbox FEATURE: Use Message-ID for detecting email replies to group 2018-04-05 11:00:38 +02:00
nodebb nodebb importer (#5842) 2018-05-18 10:12:40 +02:00
phpbb3 FIX: add support for string avatar_type values in PHPBB3 importer 2018-06-07 18:14:11 -04:00
quandora Make rubocop happy again. 2018-06-07 13:28:18 +08:00
socialcast Make rubocop happy again. 2018-06-07 13:28:18 +08:00
support
askbot.rb
base.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
bbpress.rb add support for importing attachments in bbPress importer 2018-04-24 11:08:12 -04:00
bespoke_1.rb
discuz_x.rb
disqus.rb
drupal-6.rb Fix broken queries in Drupal 6 migration. 2018-03-31 17:53:40 +02:00
drupal.rb
drupal_json.rb
drupal_qa.rb
fluxbb.rb
getsatisfaction.rb Add rake task for reordering posts by creation_date 2018-03-29 14:42:41 +02:00
ipboard.rb FEATURE: support disabling emails for non-staff users 2018-06-07 18:31:08 +05:30
ipboard3.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
jive.rb
jive_api.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
json_generic.rb
kunena.rb
kunena3.rb
lithium.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
mbox-experimental.rb
mbox.rb FEATURE: support disabling emails for non-staff users 2018-06-07 18:31:08 +05:30
modx.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
muut.rb
mybb.rb FEATURE: support disabling emails for non-staff users 2018-06-07 18:31:08 +05:30
mylittleforum.rb FEATURE: support disabling emails for non-staff users 2018-06-07 18:31:08 +05:30
nabble.rb
ning.rb
phorum.rb
phpbb3.rb
punbb.rb
sfn.rb
simplepress.rb
smf1.rb extract configuration variables from SMF1 importer 2018-05-30 15:53:57 +02:00
smf2.rb
sourceforge.rb
stack_overflow.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
vanilla.rb Make rubocop happy again. 2018-06-07 13:28:18 +08:00
vanilla_mysql.rb
vbulletin.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
vbulletin5.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
xenforo.rb lint 2018-03-08 15:16:12 +11:00
yahoogroup.rb
zendesk.rb Use correct post id in zendesk importer 2018-06-17 22:57:31 +02:00
zoho.rb