mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Calls to Discourse.ajax no longer need getURL -- will be done automatically.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class CreateAdminLogs < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :admin_logs do |t|
|
||||
create_table :admin_logs, force: true do |t|
|
||||
t.integer :action, null: false
|
||||
t.integer :admin_id, null: false
|
||||
t.integer :target_user_id
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class CreateGroups < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :groups do |t|
|
||||
create_table :groups, force: true do |t|
|
||||
t.string :name, null: false
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class GroupUsers < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :group_users do |t|
|
||||
create_table :group_users, force: true do |t|
|
||||
t.integer :group_id, null: false
|
||||
t.integer :user_id, null: false
|
||||
t.timestamps
|
||||
|
||||
@@ -2,7 +2,7 @@ class AddSecurityToCategories < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :categories, :secure, :boolean, default: false, null: false
|
||||
|
||||
create_table :category_groups do |t|
|
||||
create_table :category_groups, force: true do |t|
|
||||
t.integer :category_id, null: false
|
||||
t.integer :group_id, null: false
|
||||
t.timestamps
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class AddTopicAllowedGroups < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :topic_allowed_groups do |t|
|
||||
create_table :topic_allowed_groups, force: true do |t|
|
||||
# oops
|
||||
t.integer :group_id, :integer, null: false
|
||||
t.integer :topic_id, :integer, null: false
|
||||
|
||||
Reference in New Issue
Block a user