about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-14 19:19:32 +0200
committerGitHub <noreply@github.com>2018-08-14 19:19:32 +0200
commit8e111b753a3411b258cdb008c9a53bad696f4df1 (patch)
tree6ae9387736b8abf180c93f7f0d25c6952c04b9b2 /spec/fabricators
parent018a9e4e7fdfac0f2e482f4b5fa66247afbc2ddb (diff)
Move status counters to separate table, count replies (#8104)
* Move status counters to separate table, count replies

* Migration to remove old counter columns from statuses table

* Fix schema file
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/status_stat_fabricator.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/fabricators/status_stat_fabricator.rb b/spec/fabricators/status_stat_fabricator.rb
new file mode 100644
index 000000000..9c67fd404
--- /dev/null
+++ b/spec/fabricators/status_stat_fabricator.rb
@@ -0,0 +1,6 @@
+Fabricator(:status_stat) do
+  status_id        nil
+  replies_count    ""
+  reblogs_count    ""
+  favourites_count ""
+end