Sha256: 06f39a8c934ed0b85c3870933511c7ea03f2ee35a9a9dfab8bd9e7927a8bbad5
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
# This migration comes from maily_herald (originally 20140612101023) class CreateLists < ActiveRecord::Migration def up create_table :maily_herald_lists do |t| t.string :name, :null => false t.string :title t.string :context_name #t.text :autosubscribe_condition t.string :token_action end remove_column :maily_herald_dispatches, :token_action remove_column :maily_herald_dispatches, :subscription_group_id remove_column :maily_herald_dispatches, :autosubscribe remove_column :maily_herald_dispatches, :start remove_column :maily_herald_dispatches, :start_var remove_column :maily_herald_dispatches, :trigger add_column :maily_herald_dispatches, :start_at, :text add_column :maily_herald_dispatches, :list_id, :integer remove_column :maily_herald_subscriptions, :dispatch_id remove_column :maily_herald_subscriptions, :type add_column :maily_herald_subscriptions, :list_id, :integer add_column :maily_herald_subscriptions, :next_delivery_at, :datetime drop_table :maily_herald_subscription_groups drop_table :maily_herald_aggregated_subscriptions add_column :maily_herald_logs, :sequence_id, :integer rename_column :maily_herald_logs, :processed_at, :processing_at change_column :maily_herald_logs, :status, :string, :default => nil end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
maily_herald-webui-0.8.0 | spec/dummy/db/migrate/20140804152250_create_lists.maily_herald.rb |