blob: 96d88f740a37e7b636f4f5a6464f1a4a29d2c9c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class CreatePhones < ActiveRecord::Migration
def self.up
create_table :phones do |t|
t.string :mac_address
t.integer :phone_model_id
t.string :ip_address
t.string :last_ip_address
t.string :http_user
t.string :http_password
t.timestamps
end
end
def self.down
drop_table :phones
end
end
|