mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
13 lines
273 B
Ruby
13 lines
273 B
Ruby
class CreateMessages < ActiveRecord::Migration
|
|
def change
|
|
create_table :messages do |t|
|
|
t.integer :registrar_id
|
|
t.string :body
|
|
t.string :attached_obj_type
|
|
t.string :attached_obj_id
|
|
t.boolean :queued
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|