initial commit
https://guides.rubyonrails.org/getting_started.html#creating-a-database-model
This commit is contained in:
13
db/migrate/20250910133346_create_projects.rb
Normal file
13
db/migrate/20250910133346_create_projects.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateProjects < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :projects do |t|
|
||||
t.string :name
|
||||
t.string :email
|
||||
t.string :shortname
|
||||
t.date :offer_date
|
||||
t.date :order_date
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user