diff --git a/app/views/user_upgrades/_stripe_payment_safebooru.html.erb b/app/views/user_upgrades/_stripe_payment_safebooru.html.erb index a6e7bdfe8..32331a724 100644 --- a/app/views/user_upgrades/_stripe_payment_safebooru.html.erb +++ b/app/views/user_upgrades/_stripe_payment_safebooru.html.erb @@ -1,4 +1,4 @@
-

You can pay with a credit card on <%= link_to "Safebooru", new_user_upgrade_path(:only_path => false, :domain => "safebooru.donmai.us", :protocol => "https") %>. Your account will then also be upgraded on Danbooru. You can login to Safebooru with the same username and password you use on Danbooru.

+

You can pay with a credit card on <%= link_to "Safebooru", new_user_upgrade_path(:only_path => false, :domain => "donmai.us", :subdomain => "safebooru", :protocol => "https") %>. Your account will then also be upgraded on Danbooru. You can login to Safebooru with the same username and password you use on Danbooru.

\ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index 39715f634..294eba3c2 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -2790,7 +2790,8 @@ CREATE TABLE tag_aliases ( forum_topic_id integer, status text DEFAULT 'pending'::text NOT NULL, created_at timestamp without time zone NOT NULL, - updated_at timestamp without time zone NOT NULL + updated_at timestamp without time zone NOT NULL, + post_count integer DEFAULT 0 NOT NULL ); @@ -6738,6 +6739,13 @@ CREATE INDEX index_saved_searches_on_user_id ON saved_searches USING btree (user CREATE INDEX index_tag_aliases_on_antecedent_name ON tag_aliases USING btree (antecedent_name); +-- +-- Name: index_tag_aliases_on_antecedent_name_pattern; Type: INDEX; Schema: public; Owner: -; Tablespace: +-- + +CREATE INDEX index_tag_aliases_on_antecedent_name_pattern ON tag_aliases USING btree (antecedent_name text_pattern_ops); + + -- -- Name: index_tag_aliases_on_consequent_name; Type: INDEX; Schema: public; Owner: -; Tablespace: -- @@ -6745,6 +6753,13 @@ CREATE INDEX index_tag_aliases_on_antecedent_name ON tag_aliases USING btree (an CREATE INDEX index_tag_aliases_on_consequent_name ON tag_aliases USING btree (consequent_name); +-- +-- Name: index_tag_aliases_on_post_count; Type: INDEX; Schema: public; Owner: -; Tablespace: +-- + +CREATE INDEX index_tag_aliases_on_post_count ON tag_aliases USING btree (post_count); + + -- -- Name: index_tag_implications_on_antecedent_name; Type: INDEX; Schema: public; Owner: -; Tablespace: -- @@ -7174,3 +7189,5 @@ INSERT INTO schema_migrations (version) VALUES ('20150120005624'); INSERT INTO schema_migrations (version) VALUES ('20150128005954'); +INSERT INTO schema_migrations (version) VALUES ('20150403224949'); +