Move github source to private server

This commit is contained in:
Zin Bo Thit
2026-01-29 12:00:13 +06:30
parent 417600b23e
commit 87cc77e0fb
27 changed files with 916 additions and 381 deletions

View 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

View File

@@ -10,7 +10,17 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20260122043706) do
ActiveRecord::Schema.define(version: 20260128050859) do
create_table "comments", force: :cascade do |t|
t.text "content"
t.integer "user_id"
t.integer "task_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["task_id"], name: "index_comments_on_task_id"
t.index ["user_id"], name: "index_comments_on_user_id"
end
create_table "departments", force: :cascade do |t|
t.string "name", null: false