akismet integration
This commit is contained in:
7
db/migrate/20170914200122_add_is_spam_to_dmails.rb
Normal file
7
db/migrate/20170914200122_add_is_spam_to_dmails.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AddIsSpamToDmails < ActiveRecord::Migration
|
||||
def change
|
||||
Dmail.without_timeout do
|
||||
add_column :dmails, :is_spam, :boolean, default: false
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -1009,7 +1009,8 @@ CREATE TABLE dmails (
|
||||
is_deleted boolean DEFAULT false NOT NULL,
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone,
|
||||
creator_ip_addr inet NOT NULL
|
||||
creator_ip_addr inet NOT NULL,
|
||||
is_spam boolean DEFAULT false
|
||||
);
|
||||
|
||||
|
||||
@@ -7513,3 +7514,5 @@ INSERT INTO schema_migrations (version) VALUES ('20170613200356');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20170709190409');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20170914200122');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user