blob: 3372b5fb39e81aa4355a8efe8735016028699b75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class CreateExtensionModules < ActiveRecord::Migration
def self.up
create_table :extension_modules do |t|
t.string :model
t.string :mac_address
t.string :ip_address
t.string :provisioning_key
t.boolean :provisioning_key_active
t.integer :phone_id
t.integer :position
t.boolean :active
t.timestamps
end
end
def self.down
drop_table :extension_modules
end
end
|