Archive: ComponentOwl Rails app, DB backups, go redirect script

This commit is contained in:
EC2 Default User
2026-03-23 16:20:05 +00:00
commit 50037f386f
218 changed files with 14558 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
class CreateAutoresponders < ActiveRecord::Migration
def self.up
create_table :autoresponders do |t|
t.integer :subscription_list_id, :null => false
t.string :subject, :null => false
t.text :message, :null => false
t.integer :delay, :default => 0
t.timestamps
t.datetime :deleted_at
end
create_table :sent_autoresponders do |t|
t.integer :autoresponder_id, :null => false
t.integer :contact_id, :null => false
t.datetime :sent_at
end
end
def self.down
drop_table :autoresponders
drop_table :sent_autoresponders
end
end