[foreman-dev] Re: assistance adding new models and migrations

2016-11-02 Thread Andrew Schofield
On this line: >> + add_index :katello_repository_dockers, [:docker_manifest_id, :repository_id], :unique => true Add a :name => "my_new_index_name_thats_shorter_than_63_chars" On Wednesday, November 2, 2016 at 9:56:10 PM UTC-4, Tom McKay wrote: > > Used the other cv filter migrations to try

[foreman-dev] assistance adding new models and migrations

2016-11-02 Thread Tom McKay
In the spirt of "teach me to fish", can someone guide me on how best to add new entries to the database from some new models I need? I am adding content view filters that will limit docker tags[1]. Similar models already exist for rpm packages so I had a good place to start, but I'm struggling to

Re: [foreman-dev] Smart or Foreman Proxy? Let's do Foreman Smart Proxy

2016-11-02 Thread Tomas Strachota
On 10/17/2016 03:26 PM, Greg Sutcliffe wrote: On 17 October 2016 at 14:12, Lukas Zapletal > wrote: > This appears more inconsistent than the current situation, as there will > now be three terms, differing between the UI names ("Foreman Smart > Proxy"),