This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
redstoner.com/db/migrate/20170524181458_create_messages.rb
2017-05-27 00:34:47 +02:00

12 lines
228 B
Ruby

class CreateMessages < ActiveRecord::Migration
def change
create_table :messages do |t|
t.text :message
t.references :user_sender
t.references :user_target
t.datetime :created_at
end
end
end