mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
Louis | Adds clients model & views to db
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
class CreateClients < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :clients do |t|
|
||||
t.string :first_name
|
||||
t.string :last_name
|
||||
t.date :application_date
|
||||
t.string :gender
|
||||
t.integer :age
|
||||
t.integer :weight
|
||||
t.boolean :helmet
|
||||
t.boolean :lock
|
||||
t.string :agency
|
||||
t.date :completion_date
|
||||
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user