Invoise bank update, Registrar migration

This commit is contained in:
Priit Tark 2015-04-14 18:31:50 +03:00
parent 6b555d8db7
commit 604505c21b
4 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,17 @@
class DataUpdate < ActiveRecord::Migration
def change
Registrar.where(
name: 'EIS',
reg_no: '90010019',
phone: '+372 727 1000',
country_code: 'EE',
vat_no: 'EE101286464',
email: 'info@internet.ee',
state: 'Harjumaa',
city: 'Tallinn',
street: 'Paldiski mnt 80',
zip: '10617',
url: 'www.internet.ee'
).first_or_create!
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150414092249) do
ActiveRecord::Schema.define(version: 20150414151357) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"