Rakefile: add mute_rules to timestamped ids
This commit is contained in:
parent
506984ecfb
commit
cc753c0882
2
Rakefile
2
Rakefile
|
@ -446,7 +446,7 @@ namespace :db do
|
||||||
conn = ActiveRecord::Base.connection
|
conn = ActiveRecord::Base.connection
|
||||||
|
|
||||||
# required for the timestampid function to work properly
|
# 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")
|
conn.execute("CREATE SEQUENCE IF NOT EXISTS #{tbl}_id_seq")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue