Move github source to private server
This commit is contained in:
11
db/migrate/20260128050859_create_comments.rb
Normal file
11
db/migrate/20260128050859_create_comments.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateComments < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
create_table :comments do |t|
|
||||
t.text :content
|
||||
t.references :user, foreign_key: true
|
||||
t.references :task, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user