docbrown/db/migrate/20180924201325_create_buffer_updates.rb
Ben Halpern 2517bb555b
Add functionality for buffering to different accounts (#752)
* Create initial buffer updates logic

* Add UI functionality and test for sattelite tweets

* Add additional /mod functionality and re-use script partial in /internal
2018-09-26 15:51:39 -04:00

14 lines
402 B
Ruby

class CreateBufferUpdates < ActiveRecord::Migration[5.1]
def change
create_table :buffer_updates do |t|
t.integer :article_id, null: false
t.integer :tag_id
t.text :body_text
t.string :buffer_profile_id_code
t.string :buffer_id_code
t.string :social_service_name
t.text :buffer_response, default: {}.to_yaml
t.timestamps
end
end
end