Skip to content
Snippets Groups Projects
Commit cd64a708 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

datamodel improved

parent 7d7041c4
Branches master
No related tags found
No related merge requests found
class AcNumber < ActiveRecord::Base
unloadable
end
class Eprint < ActiveRecord::Base
unloadable
end
class CreateEprints < ActiveRecord::Migration
def change
create_table :eprints do |t|
t.integer :eprint_id
t.string :eprint_status
t.string :eprint_type
t.string :eprint_sperre
t.string :eprint_einverstaendnis
t.string :ac_number
t.string :ac_number_status
t.string :matr
t.string :matr_status
t.string :urn
t.string :urn_status
t.string :item_status
end
end
end
class CreateAcNumbers < ActiveRecord::Migration
def change
create_table :ac_numbers do |t|
t.string :ac_number
t.string :context
t.string :context_id
t.string :context_url
t.integer :xml_ts
t.string :xml_urn
t.string :xml_url
t.string :item_status
t.string :error_source
t.string :error_text
t.string :urn_status
t.string :urn_req_id
t.string :urn_value
end
end
end
require File.expand_path('../../test_helper', __FILE__)
class AcNumberTest < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end
require File.expand_path('../../test_helper', __FILE__)
class EprintTest < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment