Halfway through table redesign, saving to revert to working version
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class CreateIdCardSetups < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :id_card_setups do |t|
|
||||
t.string :print_name
|
||||
t.string :network_provider
|
||||
t.string :card_template
|
||||
t.string :rx_group_number
|
||||
t.boolean :active, default: false
|
||||
t.belongs_to :employer, null: false, foreign_key: true
|
||||
t.belongs_to :id_card_employer_logo, null: true, foreign_key: true
|
||||
t.belongs_to :id_card_network_logo, null: true, foreign_key: true
|
||||
t.belongs_to :id_card_provider_section, null: false, foreign_key: true
|
||||
t.belongs_to :id_card_rx_section, null: false, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user