mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
Fix Syntax error in mysql.sql, Drop table readers and run aaa_create_tables first. [Bob Silva] Closes #3798
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Correct syntax error in mysql DDL, and make AAACreateTablesTest run first [Bob Silva]
|
||||
|
||||
* Allow :include to be used with has_many :through associations #3611 [Michael Schoen]
|
||||
|
||||
* PostgreSQL: smarter schema dumps using pk_and_sequence_for(table). #2920 [Blair Zajac]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# The filename begins with "aaa" to ensure this is the first test.
|
||||
require 'abstract_unit'
|
||||
|
||||
class CreateTablesTest < Test::Unit::TestCase
|
||||
class AAACreateTablesTest < Test::Unit::TestCase
|
||||
self.use_transactional_fixtures = false
|
||||
|
||||
def setup
|
||||
|
||||
@@ -14,6 +14,7 @@ DROP TABLE entrants;
|
||||
DROP TABLE colnametests;
|
||||
DROP TABLE mixins;
|
||||
DROP TABLE people;
|
||||
DROP TABLE readers;
|
||||
DROP TABLE binaries;
|
||||
DROP TABLE computers;
|
||||
DROP TABLE posts;
|
||||
|
||||
@@ -14,6 +14,7 @@ DROP TABLE entrants;
|
||||
DROP TABLE colnametests;
|
||||
DROP TABLE mixins;
|
||||
DROP TABLE people;
|
||||
DROP TABLE readers;
|
||||
DROP TABLE binaries;
|
||||
DROP TABLE computers;
|
||||
DROP TABLE posts;
|
||||
|
||||
@@ -14,6 +14,7 @@ DROP TABLE entrants;
|
||||
DROP TABLE colnametests;
|
||||
DROP TABLE mixins;
|
||||
DROP TABLE people;
|
||||
DROP TABLE readers;
|
||||
DROP TABLE binaries;
|
||||
DROP TABLE computers;
|
||||
DROP TABLE tasks;
|
||||
|
||||
@@ -204,7 +204,7 @@ CREATE TABLE `keyboards` (
|
||||
`name` varchar(50) default NULL
|
||||
);
|
||||
|
||||
--Altered lock_version column name.
|
||||
-- Altered lock_version column name.
|
||||
CREATE TABLE `legacy_things` (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`tps_report_number` int(11) default NULL,
|
||||
|
||||
@@ -16,6 +16,7 @@ drop table entrants;
|
||||
drop table colnametests;
|
||||
drop table mixins;
|
||||
drop table people;
|
||||
drop table readers;
|
||||
drop table binaries;
|
||||
drop table comments;
|
||||
drop table authors;
|
||||
|
||||
@@ -15,6 +15,7 @@ DROP TABLE entrants;
|
||||
DROP TABLE colnametests;
|
||||
DROP TABLE mixins;
|
||||
DROP TABLE people;
|
||||
DROP TABLE readers;
|
||||
DROP TABLE binaries;
|
||||
DROP TABLE computers;
|
||||
DROP TABLE posts;
|
||||
|
||||
@@ -14,6 +14,7 @@ DROP TABLE entrants;
|
||||
DROP TABLE colnametests;
|
||||
DROP TABLE mixins;
|
||||
DROP TABLE people;
|
||||
DROP TABLE readers;
|
||||
DROP TABLE binaries;
|
||||
DROP TABLE computers;
|
||||
DROP TABLE tasks;
|
||||
|
||||
@@ -14,6 +14,7 @@ DROP TABLE entrants;
|
||||
DROP TABLE colnametests;
|
||||
DROP TABLE mixins;
|
||||
DROP TABLE people;
|
||||
DROP TABLE readers;
|
||||
DROP TABLE binaries;
|
||||
DROP TABLE computers;
|
||||
DROP TABLE posts;
|
||||
|
||||
Reference in New Issue
Block a user