added Project model with project_name and Task model with title&status

This commit is contained in:
KaungKaung
2026-01-26 14:00:27 +06:30
parent 2f329bc8cf
commit de19e675c8
8 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
class CreateProjects < ActiveRecord::Migration[8.1]
def change
create_table :projects do |t|
t.string :project_name
t.timestamps
end
end
end

View File

@@ -0,0 +1,10 @@
class CreateTasks < ActiveRecord::Migration[8.1]
def change
create_table :tasks do |t|
t.string :title
t.string :status
t.timestamps
end
end
end