Title / Description
Code ALTER TABLE bidding_rules ADD campaign_id BIGINT; ALTER TABLE bidding_rules ADD ad_positions INTEGER NOT NULL DEFAULT 0; ALTER TABLE bidding_rules ALTER ad_positions DROP DEFAULT; ALTER TABLE bidding_rules_log ADD campaign_id BIGINT; ALTER TABLE bidding_rules_log ADD ad_positions INTEGER NOT NULL DEFAULT 0; ALTER TABLE bidding_rules_log ALTER ad_positions DROP DEFAULT; ALTER TABLE bidding_rules DROP PRIMARY KEY; ALTER TABLE bidding_rules ADD CONSTRAINT bidding_rules_api_key UNIQUE (api, domain, width, height, ad_positions, campaign_id)
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code