mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
12 lines
234 B
Ruby
12 lines
234 B
Ruby
class CreateMessages < ActiveRecord::Migration
|
|
def change
|
|
create_table :messages do |t|
|
|
t.integer :registrar_id
|
|
t.string :body
|
|
t.string :object_type
|
|
t.string :object
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|