mirror of
https://github.com/fspc/bike-database.git
synced 2025-03-13 01:53:24 -04:00
20 lines
382 B
Ruby
20 lines
382 B
Ruby
|
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
|