diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-15 14:49:16 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-15 14:49:16 +0100 |
commit | 3d11d0a3a047a12bfd40b61252e269cabac76225 (patch) | |
tree | c16baf628633205b2e664f86f2e0038f3ee3b097 /db/migrate/20130215111526_create_sim_card_providers.rb | |
parent | 124a421b19e08447fa790b65cc969dadd7408539 (diff) |
Basic structure for sim_cards and sim_card_providers.
Diffstat (limited to 'db/migrate/20130215111526_create_sim_card_providers.rb')
-rw-r--r-- | db/migrate/20130215111526_create_sim_card_providers.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/db/migrate/20130215111526_create_sim_card_providers.rb b/db/migrate/20130215111526_create_sim_card_providers.rb new file mode 100644 index 0000000..b4e0f0e --- /dev/null +++ b/db/migrate/20130215111526_create_sim_card_providers.rb @@ -0,0 +1,20 @@ +class CreateSimCardProviders < ActiveRecord::Migration + def self.up + create_table :sim_card_providers do |t| + t.string :name + t.string :homepage_url + t.string :docu_url + t.string :api_server_url + t.string :api_username + t.string :api_password + t.string :ref + t.string :sip_server + t.boolean :include_order_card_function + t.timestamps + end + end + + def self.down + drop_table :sim_card_providers + end +end |