Rakefile: add mute_rules to timestamped ids

This commit is contained in:
Georg Gadinger 2022-01-02 16:55:43 +01:00
parent 506984ecfb
commit cc753c0882
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ namespace :db do
conn = ActiveRecord::Base.connection
# required for the timestampid function to work properly
%i[questions answers comments smiles comment_smiles users].each do |tbl|
%i[questions answers comments smiles comment_smiles users mute_rules].each do |tbl|
conn.execute("CREATE SEQUENCE IF NOT EXISTS #{tbl}_id_seq")
end
end